Skip to content

Releases: orchidjs/tom-select

v1.7.0

14 May 01:49
Compare
Choose a tag to compare
  • Added virtual_scroll plugin
  • Dropdown toggles when clicking on control instead of just remaining open
  • getOption() respects duplicates
  • getElementWithValue() no longer needed
  • Option select on click instead of mousedown
  • Removed deprecated onSearchChange and onOptionHover
  • Better test coverage

v1.6.3

10 May 21:11
Compare
Choose a tag to compare

Upgrade to sifter.js 0.7.2 making an empty searchField setting display all options - #78

v1.6.2

08 May 19:51
Compare
Choose a tag to compare

Fixed sortField regression

1.6.1

29 Apr 22:30
Compare
Choose a tag to compare
  • Upgrade to sifter.js v1.7.1
  • fix item creation when option_create template is null and mode = 'single'

1.6.0

24 Apr 03:12
Compare
Choose a tag to compare

1.6.0 depends on our new fork of sifter and introduces search field weights.

v1.5.0

21 Apr 03:34
Compare
Choose a tag to compare
  • Added field searching "field-name:query" example at https://tom-select.js.org/examples/contacts/
  • Build cjs
  • Bug fixes
    • prevent extra onchange events
    • remove inline css to fix CSP issues
    • fix option.selected vs getAttribute('selected') issue
    • don't overwrite background color css
    • fix item creation when option_create template is null
    • should not create item on tab unless selectOnTab=true
    • fix setup when optgroup_header template is null

1.4.3

25 Mar 21:47
Compare
Choose a tag to compare

Fix conflict with Array.prototype

1.4.2

25 Mar 19:06
Compare
Choose a tag to compare

Multiple bugfixes

  • fix getAdjacent() regression
  • trigger one onchange event for clear button
  • updateOriginalInput() fixed to maintain order of items
  • Array.from() instead of spread operator
  • fix degraded performance in registerOption()
  • fix addItems() when last item is duplicate
  • add missing :hover for create option
  • flex-fill for control input
  • handle space separated events for input autogrow events

v1.4.1

23 Mar 23:38
Compare
Choose a tag to compare
  • aria-disabled for disabled options
  • Prevent focus cycle problem
  • Prevent unnecessary DOM modification when setting caret position
  • getAdjacent() without getting all siblings
  • Remove duplicate calls to clearActiveOption() and refreshState()
  • Dropdown caret from single select only in Bootstrap5

v1.4.0

22 Mar 05:43
Compare
Choose a tag to compare
  • ARIA added for accessibility
  • Accessibility tests with karma-accessibility-checker
  • Refactored updateOriginalInput().
  • Options no longer removed from source Store reference to original tags Fix 'selected' class bug #41 Fallback on bootstrap 5's caret and validation icons when using .form-select Removed unused scrollDuration setting Documentation updates