Replacement for Select2 - alternatives for select dropdowns?
Curious to opinions from the community. I've got a Django app that uses Bootstrap 5.3 on the frontend (which has no JQuery); I've got a need to use Select2 - but since jQuery no longer ships with Bootstrap - I was wondering about alternatives or alternate ways to achieve similar results. HTMX is an option I've considered and trying to do something clever with that; but before going down that road, I thought it might just be easier to import jQuery into the project and use Select2. I'm not really sure as I do more backend stuff usually - and we've got some other apps that use Select2 with Vue JS (but older versions of both - pretty old to the point I'm not sure how well they would integrate with Bootstrap5 and our other more current libraries). Just trying to see what people are using. I saw the new 'datalist' HTML5 element - but that's still just an input where someone could put in anything instead of forcing them to use one of the 'suggestions' like a select element does. TL;DR: Should I just add jQuery to my project and use Select2 or are there easier to integrate options out there that don't require adding an entire library for 1 thing? #dev #technology #programming #js source