2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00
Commit Graph

24 Commits

Author SHA1 Message Date
Ramazan SANCAR 9e1e7125fa docs: Typo fix (#1669) 2022-08-24 16:50:28 -07:00
Jeff Sagal 44e1eec53d docs: remove reference to @change event (#1521)
Closes #1115
2021-10-17 13:44:49 -07:00
Fariborz Emami 14ea58b9e5 docs: add loading property (#1475)
* Update props.md, add loading property

* Update props.md
2021-10-17 10:09:50 -07:00
The Jared Wilcurt bf8be2ec26 feat: move uid to props (#1362)
* Add uniqueKey prop

* move uid to prop

* Update props.md

Co-authored-by: TheJaredWilcurt <4629794+TheJaredWilcurt@users.noreply.github.com>
Co-authored-by: Jeff Sagal <sagalbot@gmail.com>
2021-10-17 10:04:51 -07:00
andreas 68da1c172e feat: add deselectFromDropdown boolean prop (#1033) 2021-10-17 09:47:06 -07:00
Yilmaz b965b3b195 fix(filtering): transform letters to locale specific cases (#1511) 2021-10-06 09:51:43 -07:00
Jeff Sagal 1676947319 feat: add dropdownShouldOpen prop (#1464) 2021-07-22 13:51:43 -07:00
Sølve Tornøe 5dfb9e5f73 docs: Add missing components prop to props API (#1337) 2020-12-18 14:20:15 -08:00
Sølve Tornøe 423973badf docs: sort props alphabetically (#1334) 2020-12-18 13:55:30 -08:00
Jeff f947e253c5 docs: fix filterBy definition
Fixes #1327
2020-12-18 11:41:31 -08:00
Sølve Tornøe 94f7125fc9 docs: Add selectable prop to api (#1308) 2020-11-16 16:15:05 -08:00
Jeff Sagal 141776bda6 docs: add autocomplete prop (#1178)
Closes #1175
2020-04-29 12:47:06 -07:00
Jeff Sagal 2eb39087fd feat: add autoscroll boolean prop (#1160)
* feat: add autoscroll boolean prop

Fixes #449

* refactor: update autoscroll implementation

Closes #1028
Closes #910

* refactor: only call maybeAdjustScroll in the watcher

* docs: upgrade vuepress
2020-04-12 15:44:52 -07:00
Rafał Gałka f2479434e4 fix: memory leak when positioning with popper (#1094)
* fix: memory leak when positioning with popper
* docs: update calculate position docs

Co-authored-by: Jeff <sagalbot@gmail.com>
2020-03-09 19:08:57 -07:00
Jérémie BORDIER fe51fec6b8 feat: calculated positioning (#1049)
Adds `appendToBody` and `calculatePosition` props.

https://vue-select.org/guide/positioning.html

Co-authored-by: Jeff <sagalbot@gmail.com>
2020-03-08 13:31:08 -07:00
Jeff Sagal 207c6d1cb6 feat(clearsearchonblur): add clearSearchOnBlur prop (#1077)
Add docs, update tests from #1060.
2020-03-01 16:31:21 -08:00
Jeff Sagal 3f5872c3fc docs(resetOnOptionsChange): add versioning info (#1020)
* docs(resetOnOptionsChange): update documentation

Related #1015

* docs(resetOnOptionsChange): add versioning info
2019-12-02 13:30:52 -08:00
Jeff Sagal 582a0f0fac docs(resetOnOptionsChange): update documentation (#1019)
Related #1015
2019-12-02 13:21:02 -08:00
Markus ebcdcc5c62 Make sure selected value is an option after option changed and react to value property changes even if tracking value internally (#914)
* make sure selected tracked value is an option if possible

Before this case did not work correctly:

- Select was rendered with *no* options, but *with* a saved value
- Options were fetched by ajax and options prop was updated
- Reduce function if passed

What happens without this commit is that the selected tracked value
simply was the raw reduced value (previously saved). Which means that
displaying a label for example does not work if the label comes from the
unreduced option.

This commit makes sure that the internal tracked value is checked
against all options not only once the select is created but additionally
when options change.

* remove useless keys

- first key was always undefined
- second key was always the index which is not usefull at all since it
  changes based on the order

* add test for setting value after option changed

* correctly react to value property changes if tracking internally

fixes sagalbot#855, sagalbot#842

* add getOptionKey prop

* yarn upgrade doc

* add getOptionKey api doc and fix links

* yarn upgrade

* do not use key on slot

* fix label spec
2019-09-13 12:18:04 -07:00
Jeff Sagal 0ea951456e Update props.md (#839) 2019-04-17 11:09:54 -05:00
Jeff Sagal b34bf57861 Remove foo bar (#826)
* remove foo bar examples, move tagging to values

* update tagline, add headers to values

* hunting down more foos
2019-04-13 10:57:56 -07:00
Owen Conti f9725919a4 V3 - Remove mutable class properties plus other misc changes (#781)
* Remove the mutableValue prop in the Select component.

* Add back mutable value when Vue Select has to manage its own value.

* Remove mutableOptions, valueAsAarray. Update webpack minifer to use Terser.

* Fix tabbing

* Fix bug with showClearButton

* Fix tests.

* Call clearSelection when possible

* Update dev sandbox to have all three options for setting value.

* Update dev sandbox to display current value

* Remove unused karma test setup.

* Revert onInput name change.

* Use coveralls

* Change this.internalValue to this.$data._value.

* Remove onInput prop and replace with internal method, updateValue.

* Update tests.

* Rename optionObjectComparator to optionComparator.
2019-03-23 11:25:31 -07:00
Jeff Sagal dc91310860 Sass & Class Renames (#759)
* - add autoprefixer
- add cssnano
- add postcss-loader
- remove unused packages

* create RTL scss module

* add vs__ prefix to open-indicator, extract to module

* module for dropdown-toggle

* vs__clear module

* vs__dropdown-menu module

* rename `selected-tag` to `vs__selected`

* remove rtl class

* remove dropdown class

* search-input scss module

* move animations to global module

* refactor dropdown list items

* - spinner slot is now scoped with `loading` variable
- move spinner to scss module

* apply vs__search class directly to search input: if you're using the slot, you might not want default styles

* finish global modules

* make RTL a component state

* - update component states to use vs-- prefix
- rename dropdownClasses to stateClasses

* remove unused property

* Closes #760

* fix states

* more state fixes

* rename .close to vs__deselect

* - simplify dev.html
- start on 'sandbox' development

* update build

* - update webpack config
- move Sandbox to VuePress folder

* update external framework version links

* assign grid areas, ensure 100% height outside of docs

* limit specificity

* first pass at assigning variables

* assign 'darkest'

* remove max-height prop

* rename 'component' variables to 'state'

* update badges

* add deprecation notice to docs

* bump travis config

* add coveralls coverage reporter

* bump netlify config

* additional pass pulling up to variables

* start converting to SVG icons

* middle align action icons

* update netlify config

* netlify bump

* fix travis

* fix travis

* try lcov

* netlify attempt

* prune old packages

* bump travis config
2019-02-18 22:01:39 -08:00
Jeff a07cb4175f Merge branch 'ft/vuepress-no-cli' into release/v3.0
# Conflicts:
#	src/mixins/typeAheadPointer.js
2019-02-16 12:36:38 -08:00