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

129 Commits

Author SHA1 Message Date
Jeff Sagal dd281aa8c6 refactor: apply eslint fixes (#1469) 2021-08-01 12:30:50 -07:00
Jeff Sagal 1676947319 feat: add dropdownShouldOpen prop (#1464) 2021-07-22 13:51:43 -07:00
Alexander Karlstad 94549ff903 docs: Add search event to documentation (#1342)
* Add search event to documentation

* Fix jsdoc for other event examples

* Add toggleLoading param to documentation

* Update events.md

Co-authored-by: Jeff Sagal <sagalbot@gmail.com>
2021-07-22 13:35:07 -07:00
Can Geliş 86dd03dfda docs: add open and close events to the documentation (#1366)
* add open and close events to the documentation
* Update events.md

Co-authored-by: Jeff Sagal <sagalbot@gmail.com>
2021-07-22 13:22:52 -07:00
Kevin Cameron 7d59ab206f docs: Fix typo (#1374) 2021-07-22 13:18:31 -07:00
George Catalin 7da3ad422f docs: add missing @search event #1417 2021-07-22 13:15:18 -07:00
Jeff Sagal 2e8dd919ca docs: update sponsors, remove ads 2021-07-20 09:20:23 -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
Tiago Roldão 6e1c0dbcbd feat: option selection events (#1324)
- `option:selecting` before state is set
- `option:selected` after state is set
- `option:deselecting` before state is set
- `option:deselected` after state is set

Co-authored-by: tiagoroldao <troldao@assurehedge.com>
Co-authored-by: Jeff <sagalbot@gmail.com>
2020-12-18 12:18:34 -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
dependabot[bot] 28a9d81678 chore(deps): bump http-proxy from 1.18.0 to 1.18.1 in /docs (#1281)
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 12:49:22 -07:00
dependabot[bot] ca3a4b3440 chore(deps): bump node-fetch from 2.6.0 to 2.6.1 in /docs (#1284)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 12:48:42 -07:00
Rafael H.F.S 6e9861e787 docs: update guide for infiniteScroll.vue (#1236)
change the display condition of ther loader from v-if to v-show. When used with v-if and if returns false, the element will not be rendered and the observer stops working. With v-show, the element will exists but won't be visible and the observer will still work.
2020-08-19 13:55:59 -07:00
Jeff Sagal 4360f00137 docs(fuse): fix fuse.js example (#1229) 2020-07-09 09:43:47 -07:00
Jeff Sagal 9e4955e96a docs(ads): update to ethical ads (#1224) 2020-07-07 12:57:21 -07:00
dependabot[bot] ef9e054ab5 chore(deps): bump websocket-extensions from 0.1.3 to 0.1.4 in /docs (#1204)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-25 09:40:23 -07:00
Jeff Sagal 141776bda6 docs: add autocomplete prop (#1178)
Closes #1175
2020-04-29 12:47:06 -07:00
Jeff Sagal 321813162c refactor: don't use the sandbox in dev (#1168)
* refactor: don't use the sandbox

* refactor: update docs package.json

 https://github.com/sagalbot/vue-select/issues/1161#issuecomment-615359135
2020-04-18 14:24:57 -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
Jeff Sagal 87a7b18e2a chore: add release date shield (#1125) 2020-03-20 09:50:11 -07:00
Jeff Sagal 0bad820f91 docs: add sponsors and contributors pages (#1108) 2020-03-15 12:02:01 -07:00
Jeff Sagal 5085fecd43 ci: build docs on test step (#1105)
docs(infinite-scroll): fix SSR
docs(pagination): bind a boolean not a string
ci: build docs on test workflow
ci: install docs deps in same step
2020-03-13 12:02:23 -07:00
Jeff Sagal e9ea2d99f3 docs(filtering): Add Filtering Docs (#1017)
docs(infinite-scroll): improve example (#1017)
2020-03-13 09:19:28 -07:00
Jeff Sagal e6d0da6d52 feat: add open & close events (#1101) 2020-03-12 20:46:08 -07:00
Jeff Sagal a820f06d61 docs: overhaul slot docs (#1099)
* docs: sort slots alphabetically
2020-03-11 09:16:07 -07:00
Jeff Sagal b2f388bc89 feat: header, footer, list-header, list-footer slots (#1085) 2020-03-09 21:56:37 -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 be44b29ce2 feat: scope the no-options slot (#1083)
Resolves #1071, Resolves #1081

https://vue-select.org/guide/slots.html#improving-the-default-no-options-text
2020-03-05 08:35:38 -08:00
Jeff Sagal 207c6d1cb6 feat(clearsearchonblur): add clearSearchOnBlur prop (#1077)
Add docs, update tests from #1060.
2020-03-01 16:31:21 -08:00
preterer 02ea82116c Add no-options slot to docs (#1063)
Closes #1058
2020-02-15 11:23:35 -08:00
Jeff Sagal dd274be0e1 Update accessibility.md 2020-02-06 21:01:45 -08:00
andreas d6f0557449 Add push-tags prop to example snippet (#1024) 2019-12-09 21:33:08 -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
Jeff Sagal 619771d0f0 create selectable docs (#996) 2019-11-14 12:18:40 -08:00
Jeff 38f291ab99 @search instead of on-search 2019-11-08 10:56:46 -08:00
Jeff Sagal 92658a31ad Merge pull request #971 from sagalbot/fix-956-event-delegation
WIP Event delegation for #956
2019-11-08 10:51:22 -08:00
Jeff 1e6b0e98d0 add keycodes note 2019-11-08 10:50:36 -08:00
Jeff a87cb3317e complete documentation 2019-11-08 10:43:36 -08:00
Jeff Sagal 0a589704f8 add v-for docs (#982) 2019-11-07 18:15:41 -08:00
Jeff af424159f7 update docs 2019-11-07 17:15:48 -08:00
Jeff c6c8281f6f add dropdown transition docs 2019-10-26 13:58:14 -07:00
Reed Jones 1aef52ade4 Update slots.md (#959)
remove deprecated slot="" scope-slot="" syntax
2019-10-26 11:43:57 -07:00
Jeff 4f409522de add docs 2019-10-25 18:47:33 -07: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 8ef15a12d3 fix code snippet paths (#879) 2019-05-15 17:59:47 -07:00
Jeff Sagal 3928b015a9 Separate documentation dependencies (#874)
* separate documentation dependencies

* bump deps

* update netlify config and package scripts

* bump netlify

* add cross-env

* fix publish path
2019-05-05 16:51:23 -07:00