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.
This is a duplicate of https://github.com/select2/select2/issues/3652.
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.
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/