Choices
Choices copied to clipboard
A vanilla JS customisable select box/text input plugin ⚡️
So here is how i create my choices... ``` keywordChoices = new Choices(document.getElementById('keywords'), { delimiter: ',', editItems: true, maxItemCount: -1, duplicateItemsAllowed: false, removeItemButton: true, shouldSortItems: true, sorter: function(a, b) {...
**Is your feature request related to a problem? Please describe.** I cannot set the border width with scss variables. **Describe the solution you'd like** Having a scss variable that lets...
Required validation not working for me ` Select Branch 1 Please select home branch. `  wanted to show while submit if not selected Home branch message will be displayed...
**Describe the bug** When using the control in RTL and setting options removeItemButton: true The button border is on the wrong side of the button **To Reproduce** Steps to reproduce...
When user selects \, then \ value bound with alpinejs x-model attribute becomes '{value: "x"}' instead of 'x' **To Reproduce** ```html First item Second item ``` **Expected behavior** Expected same...
It would be very useful if the group heading was filtered (displayed) during the search as long as child elements (of optgroup) were found.
**Describe the bug** The `tabindex` attribute on elements is ignored. **To Reproduce** Example HTML, with the select element being enhanced by Choices.js: ```html Example ``` **Expected behavior** Pressing tab should...
**Is your feature request related to a problem? Please describe.** Since v11, the underlying select element is filled with the options, even if the options are programmed. While this is...
## Description Drafting this PR as I am not sure if you would want to follow a different approach. If this looks good I can try to add tests. There...