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

ethanclevenger91 picture ethanclevenger91  路  3Comments

e-frank picture e-frank  路  3Comments

videsignz picture videsignz  路  3Comments

eved42 picture eved42  路  3Comments

FezVrasta picture FezVrasta  路  3Comments