unt-libraries / django-nomination

A Django application for nominating URLs by project.
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Replace select box with Select2 #102

Closed somexpert closed 4 years ago

somexpert commented 4 years ago

We should replace the selection box that requires holding certain button combos to select multiple values with Select2, which makes it much easier to provide multiple selections without OS-dependent instructions. I'm pretty sure this is the place in the template requiring the change.

ldko commented 4 years ago

It may also be this template too: https://github.com/unt-libraries/django-nomination/blob/master/nomination/templates/nomination/url_listing.html unless we fix the duplication going on in these templates...

somexpert commented 4 years ago

ah yes, I'll change it there too. Also, I've gone with a pure javascript implementation instead of Select2.

ldko commented 4 years ago

Do we also want to use slim select on single-select boxes @vphill @somexpert ?

somexpert commented 4 years ago

Was gonna say it doesn't seem as useful there, but it would add search functionality, and we certainly wouldn't be losing anything by using it.

somexpert commented 4 years ago

I've gone ahead and started using slim select for all selection boxes.