v8.0.0
What's Changed
-
Rename prop
noOptionsMsg
->noMatchingOptionsMsg
by @janosh in #133 -
New prop resetFilterOnAdd by @janosh in #137
-
clean up components
{Repo,Color}Slot.svelte
-
unskip test 'parseLabelsAsHtml+allowUserOptions gives errors'
-
set playwright test mode to
parallel
, now uses 5 workers instead of 1 -
add IconifySlot.svelte used in Examples.svelte with new octicon options, pnpm add -D @iconify/svelte
-
refactor maxSelectMsg prop and invalid reset handling when new selected options change
-
assert
aria-invalid
attribute is removed on selecting a new option -
add prop
resetFilterOnAdd
: Whether text entered into the input to filter options in the dropdown list is reset to empty string when user selects an option. -
add test 'resetFilterOnAdd handles input value correctly after adding an option'
-
-
Add new prop
value
by @janosh in #138-
If
maxSelect={1}
,value
will be the single item inselected
(ornull
ifselected
is empty). IfmaxSelect != 1
,maxSelect
andselected
are equal. -
improve test 'required but empty MultiSelect makes form not pass validity check'
-
add tests for '2-way bind selected' and '1-way bind value'
-
shorten document query selectors and tweak unit test titles
-
Full Changelog: v7.1.0...v8.0.0