Choices
Choices copied to clipboard
A vanilla JS customisable select box/text input plugin ⚡️
**Describe the bug** If Choices is initialized on existing html option tags, the data-custom-properties value is parsed in js with .dataset['custom-properties']. However, the .dataset keys are automatically transformed to camelCase....
I have a select list that requires custom data attributes to be read from the selected option on change. If an item is selected a function runs using the custom...
**Describe the bug** When choices.js is used in the form, it submits also data for `search_terms`. **To Reproduce** Steps to reproduce the behavior: 1. Create demo form with choices input...
**Describe the bug** searchEnabled is set to false. But there is still a searchbox added **To Reproduce** ``` Option 1 Option 2 Option 3 const choices = new Choices(document.getElementById('test'), {...
**Is your feature request related to a problem? Please describe.** In order for users to be able to use the dropdown even better (especially on the mobile view), a feature...
**Is your feature request related to a problem? Please describe.** When I have `duplicateItemsAllowed` set to `false` I would expect a check on `setChoices` and if there is a duplicate...
hey, I checked the live preview in the documentation, the button to reset the form (`button type="reset"`) causes select not to keep the default value, select is empty this feature...
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...
I haven t found a way to do it programmatically... Clear input clears the text but that’s it...
How about a possibility to dynamically load list of options (from server) to autocomplete what user types? E.g. for the stock market if user types MSF it will show list...