Releases: mskocik/svelecte
Releases · mskocik/svelecte
v3.1.0
v3.0.2
v3.0.0
💥 Breaking changes
value
property is reactive (#41), which results in:- removed
selection
property - introduced
readSelection
property - behaves as theselection
one, but it is read-only now value
property by default acceptsvalueField
value. If you were using Svelecte with objects as bound values, setvalueAsObject
- removed
// v2.3.2 and below - you could assign object or array of objects as selection property
<Svelecte bind:selection={myObject}></Svelecte>
/** v3.0+ */
// `value` property handle selection and it binds value property of the object
<Svelecte bind:value={myProp}></Svelecte>
// if object is desired, set 'valueAsObject' property
<Svelecte bind:value={myObject} valueAsObject></Svelecte>
✌ New features:
- drag and drop support (#45)
v2.3.2
v2.3.1
v2.3.0
v2.2.0
v2.1.0
Good news! 🎉
The custom-element version and documentation is back in main repo to ease further development for me (and possibly others) 😉
New features:
- fully compatible custom-element version
- added customizable i18n option (function) for label on 'create row', which now also supports HTML markup
v2.0.1
v2.0.0
New features:
- Possible to edit created items (#30)
Fixes:
- Rework how svelecte works internally with
options
array (#32)
New options:
disabledField
- which property should mark given item as disabled, to handle BC break mentioned belowallowEditing
- toggle to edit newly created itemkeepCreated
-whether add newly created items to option list
Breaking changes
- new default value for resolving
disabled
status of option items, but now configurable