This lib allows you to select multiple elements with checkboxes
MIT License
Bot releases are hidden (Show)
Published by ghiscoding 11 months ago
Note: Version bump only for package multiple-select-vanilla-root
Published by ghiscoding 11 months ago
Note: Version bump only for package multiple-select-vanilla-root
Published by ghiscoding 11 months ago
Note: Version bump only for package multiple-select-vanilla-root
Published by ghiscoding 11 months ago
Published by ghiscoding 12 months ago
The focus of this release was around CSP (Content Security Policy) compliance, all dynamic html string were replaced by native HTML Element and a lot of code refactoring had to be done to make it all work. There are some exception though, if you still use html string as template, you will not be compliant unless you return TrustedHTML
, you can get more info on the main readme homepage.
styler
is now deprecated and replaced by cssStyler
.
styler
was built around the fact that we use HTML string and we pass any style to the html string but now that we converted html string to native HTML Element, these style are not compatible and need extra work since we need to convert CSS style them to valid CSSStyleDeclaration
(i.e.: font-weight: 'bold'
should be fontWeight: 'bold'
) so that we can then pass it to our native HTML Element. Because this is an extra step, we decided to deprecate styler
in favor of cssStyler
which only accept CSSStyleDeclaration
.cssStyler
option to use typed CSSStyleDeclaration props (#148) (8ad2b28) - by @ghiscodingshowSearchClear
option to clear search input (#147) (32de6f2) - by @ghiscoding@types/trusted-types
should be lib dependency (#162) (946de83) - by @ghiscodingPublished by ghiscoding about 1 year ago
Published by ghiscoding over 1 year ago
The only breaking change is the customFilter
argument signature changed from multiple arguments to a single object arguments to be more flexible. This version also follows the original multiple-select
v1.6.0 that was released recently which include the following changes:
setSelects
by text support.divider
option support.classes
, classPrefix
and size
options.dropdown
support for bootstrap theme.getData
method.customFilter
option, changes the argument signature from multiple arguments to a single object argument that accepts multiple options (this is a breaking change)cz-CS
and da-DK