Skip to content

Releases: mskocik/svelecte

v3.1.0

03 Nov 13:38
Compare
Choose a tag to compare

New features:

  • support for svelte-use-form validators on internal <select> element. (#48)

v3.0.2

02 Nov 13:35
Compare
Choose a tag to compare

Fixes:

  • spacebar behaviour with fetch prop (#47)
  • Show how many more characters needed to type before executing search query
  • svelecte-element.js now built as IIFE available under public property Svelecte in the browser

v3.0.0

29 Oct 15:27
Compare
Choose a tag to compare

💥 Breaking changes

  • value property is reactive (#41), which results in:
    • removed selection property
    • introduced readSelection property - behaves as the selection one, but it is read-only now
    • value property by default accepts valueField value. If you were using Svelecte with objects as bound values, set valueAsObject
// 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

19 Oct 19:10
Compare
Choose a tag to compare

Fixes:

  • fix broken SSR due browser-specific API (introduced in v2.3.1) (#43)

v2.3.1

19 Oct 09:08
Compare
Choose a tag to compare

Fixes:

  • do not store created items, when fetch is defined (#42)
  • use iOS meta key (and show it as as shortcut) when creating item by keyboard

v2.3.0

17 Oct 13:50
Compare
Choose a tag to compare

New:

  • added minQuery option to require minimum input length, before trigger fetch request (#40)

Fixes:

  • fixed binding value multiple times (#39) - reworked completely how initial selection is resolved
  • fix hover not showing on create row

v2.2.0

14 Oct 10:10
Compare
Choose a tag to compare

New:

  • added i18n property to enable customization of config.i18n settings on component level

Fixes:

  • proper dropdown initialization (bottom or up) when virtualList is true

v2.1.0

09 Oct 11:12
Compare
Choose a tag to compare

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

08 Oct 14:51
Compare
Choose a tag to compare

Fixes:

  • correct context getter (#35)

v2.0.0

07 Oct 11:45
Compare
Choose a tag to compare

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 below
  • allowEditing - toggle to edit newly created item
  • keepCreated -whether add newly created items to option list

Breaking changes

  • new default value for resolving disabled status of option items, but now configurable