Choices-js / Choices

A vanilla JS customisable select box/text input plugin ⚡️
https://choices-js.github.io/Choices/
MIT License
6.05k stars 597 forks source link

classNames #1144

Open zdimaz opened 4 months ago

zdimaz commented 4 months ago

classNames not support multiple classes

classNames: { containerOuter: 'choices', containerInner: 'choicesinner', input: 'choicesinput', inputCloned: 'choicesinput--cloned', list: 'choiceslist', listItems: 'choiceslist--multiple', listSingle: 'choiceslist--single', listDropdown: 'choiceslist--dropdown', item: 'choicesitem', itemSelectable: 'choicesitem--selectable', itemDisabled: 'choicesitem--disabled', itemChoice: 'choicesitem--choice', placeholder: 'choicesplaceholder', group: 'choicesgroup', groupHeading: 'choicesheading', button: 'choices__button', activeState: 'is-active', focusState: 'is-focused', openState: 'is-open', disabledState: 'is-disabled', highlightedState: 'is-highlighted', selectedState: 'is-selected', flippedState: 'is-flipped', loadingState: 'is-loading', noResults: 'has-no-results', noChoices: 'has-no-choices' },