vue-treeselect

A multi-select component with nested options support for Vue.js

MIT License

Downloads
143.1K
Stars
2.9K
Committers
21

Bot releases are hidden (Show)

vue-treeselect - v0.4.0 Latest Release

Published by riophae about 5 years ago

New

  • umd & commonjs builds are both available for development & production versions now
vue-treeselect - v0.3.0

Published by riophae about 5 years ago

New

  • New slots: before-list & after-list

Improvements

  • Don't render <transition /> for leaf nodes to improve performance

Bug Fixes

  • Fix value disappearance when multiple==false && disabled==true on IE (#274 by @qingyun1029)

BREAKING CHANGES

  • Removed loading prop
vue-treeselect - v0.2.0

Published by riophae about 5 years ago

New

  • RTL support (#269 by @MostafaTech)
vue-treeselect - v0.1.0

Published by riophae about 5 years ago

Bug Fixes

  • Don't try to select if there is no selection (#208 by @fsateler)
  • Use same options when removing scroll and resize event listeners as when adding them (#266 by @sxn)
  • Fixed menu being accidentally closed when the scrollbar is clicked on IE again (#252)

BREAKING CHANGES

  • Removed props deprecated in earlier versions
vue-treeselect - v0.0.38

Published by riophae over 5 years ago

New

  • New prop: flattenSearchResults (#155 by @MaffooBristol)

Other Changes

  • Use material-colors instead of google-material-color (#198 by @jaimesanz)
vue-treeselect - v0.0.37

Published by riophae about 6 years ago

New

  • Add slot for selected value label (#140)

Bug Fixes

  • Fix issues with loading children after an async search (#143)

Other Changes

  • Setting isDefaultExpanded: true on a sub-item should also expand it ancestors
  • Include src folder in the publish (#156)
  • Remove debugger (#157)
vue-treeselect - v0.0.36

Published by riophae about 6 years ago

New

  • New props: allowClearingDisabled & allowSelectingDisabledDescendants (#135)
vue-treeselect - v0.0.35

Published by riophae about 6 years ago

Improvements

  • The position and open direction of the menu will be auto recalculated when 1) control size changes 2) menu size changes 3) page scrolls 4) window size changes (#132)
  • Handle delayed loading when user searches local options
vue-treeselect - v0.0.34

Published by riophae about 6 years ago

New

  • None

Other Changes

  • Revert the mixins export
vue-treeselect - v0.0.33

Published by riophae about 6 years ago

New

  • New prop: z-index (#127)
  • New props for flat mode: autoSelectAncestors, autoSelectDescendants, autoDeselectAncestors & autoDeselectDescendants (#131)

Other Changes

  • Removed escapeClearsValue prop
vue-treeselect - v0.0.32

Published by riophae over 6 years ago

New

  • New prop: appendToBody (#98, #120)

Bug Fixes

  • Do not emit input event when internalValue didn't change by @zikolach (#123)

Other Changes

  • instanceId prop gets auto-generated default value now
vue-treeselect - v0.0.31

Published by riophae over 6 years ago

New

Async searching

  • New props: async, cacheOptions, defaultOptions & searchPromptText

Bug Fixes

  • After root options are delayed loaded, the first option in the list should be highlighted

Performance Improvements

  • Toggling highlighted state of a option is significantly faster when the list is long (#116)

Other Changes

  • Improved value ordering when valueConsistsOf=ALL_WITH_INDETERMINATE
  • Improved internal states managing when user manually sets new value
  • Allow resetting a branch node to unloaded state by setting back children: null (#97)
  • No longer render hidden form fields when disabled
vue-treeselect - v0.0.30

Published by riophae over 6 years ago

New

  • Added new prop: matchKeys (#105)
  • Added new node property: isNew by @paulheijman (#113)

BREAKING CHANGES

  • No longer export mixins
vue-treeselect - v0.0.29

Published by riophae over 6 years ago

New

  • Added instanceId prop & deprecated old id prop

Improvements

  • Clicking on trigger will no longer close the menu when multiple=true & searchable=false

Bug Fixes

  • Should not do auto scroll when navigating using mouse (#107)
vue-treeselect - v0.0.28

Published by riophae over 6 years ago

New

Improved Keyboard Support

  • Move around using Arrow Up, Arrow Down, Home & End
  • Select or deselect options using Enter
  • Toggle expanded state using Arrow Left & Arrow Right
  • Move to upper level option using Arrow Left (for a branch node, it needs to be collapsed)

Other Changes

  • Added transition wrapper to .vue-treeselect__list (#86)
  • CSS related bugs fixed by @wickkidd (#87) & @wangyi7099 (#88)
  • Slightly tweaked the colors of component
  • For multi-select mode, the whole area of value item is reactive to user clicking now
  • retainScrollPosition prop is removed. This feature will be always on and you can not manually disable it.
vue-treeselect - v0.0.17

Published by riophae over 6 years ago

New

  • Added support for non-ajax forms by using hidden fields (related props newly added: name, joinValues & delimiter)

Improvements

  • If the control is out of viewport, when activated the menu will open below

Other Changes

  • autofocus is now changed to autoFocus. The old prop name will still work for some time but will be removed from a future version.
vue-treeselect - v0.0.27

Published by riophae over 6 years ago

BREAKING CHANGES

  • Excluded src folder from npm publish

New

  • Now .vue-treeselect__menu has been added transition wrapper that enables you to customize animation using CSS (#85)

Improvements

  • When searching, expanding a branch node will show its all children (#78)

Bug Fixes

  • Fixed that Backspace / Delete keys cannot delete value
vue-treeselect - v0.0.26

Published by riophae over 6 years ago

Bug Fixes

  • Fixed that the icons may be not vertically centered when inheriting line-height from ancestor elements (by @wangyi7099)
  • Fixed that can't be bundled using webpack (#76)
vue-treeselect - v0.0.25

Published by riophae over 6 years ago

BREAKING CHANGES

  • Some of LESS variables & CSS classnames are renamed

Improvements

  • All icons updated
  • New option for valueConsistsOf prop: "ALL_WITH_INDETERMINATE" (by @Owumaro)
vue-treeselect - v0.0.24

Published by riophae over 6 years ago

BREAKING CHANGES

New Bundles

From this version, vue-treeselect will export a non-minified version of bundle if you are consuming via a bundler like webpack or browserify, which brings some extra benefits:

  • Better debugging experience (for example, vue-treeselect will detect duplicate node ids and output warnings)
  • Source map support for both JavaScript & CSS

New Delayed Loading Mechanism

This version also comes with a refactor of delayed loading feature. The old loadRootOptions, loadChildrenOptions & loadChildrenErrorText props have been removed, and a new loadOptions prop added. For the reason of limitation that Vue cannot detect property additions, I decided to remove support for declaring unloaded branch nodes by setting isBranch: true. Check out the docs for details.

Other Changes

  • Will not preserve space for arrows anymore when no branch nodes present (#68)
  • The first time for vue-treeselect to hit 100% test coverage!