Choices.js - a vanilla JS customisable select box/text input plugin
Having ditched jQuery over a year ago, I have found that in most situations there is usually a vanilla solution to a problem. Well, at least there seems to be for everything besides custom select boxes. Select2 and Selectize are popular options that serve their purpose well but both come with the burdening jQuery dependency.
Searching for an opportunity to introduce Redux and the "single source of truth" principle into my work, I decided to develop my own solution that is configurable, lightweight and, most importantly, written entirely in vanilla JavaScript.
Check Choices.js out via the links below. Feature requests, issues and feedback are all welcome via the repo!
- Link to demo page: https://joshuajohnson.co.uk/Choices/
- Link to repo: https://github.com/jshjohnson/Choices