select2 without jQuery

Created on 18 Oct 2015  路  3Comments  路  Source: select2/select2

Hi,

I'm a big fan of select2, but is trying to avoid jQuery, since I don't needs it's massive amount of functionality. Is there any thoughts on making a plain JS version without jQuery as dependency?

Thanks.

Most helpful comment

I had the same problem.
I really prefer not to load jQuery just for a single component.

I found Choices, which seems to be quite a good replacement without jQuery! :) (At least for my use case with single select boxes)
https://joshuajohnson.co.uk/Choices/

All 3 comments

I had the same problem.
I really prefer not to load jQuery just for a single component.

I found Choices, which seems to be quite a good replacement without jQuery! :) (At least for my use case with single select boxes)
https://joshuajohnson.co.uk/Choices/

I am trying to transfer Select2 to TypeScript without dependencies. The project is located here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

T-Nagui picture T-Nagui  路  3Comments

eved42 picture eved42  路  3Comments

jiny90 picture jiny90  路  3Comments

actricom picture actricom  路  3Comments

fabienheureux picture fabienheureux  路  3Comments