Skip to content

Commit

Permalink
feat(props): arrowsDisableInstantSelection prop
Browse files Browse the repository at this point in the history
the arrowsDisableInstantSelection prop has true by default

BREAKING CHANGE: previously there was the false vlue, which led to the immediate selection of a menu
item. I decided that this was not the best practice.

re #9
  • Loading branch information
iliyaZelenko committed Sep 18, 2019
1 parent c334fa9 commit 59e9af4
Show file tree
Hide file tree
Showing 3 changed files with 14,602 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-cool-select",
"version": "3.0.0",
"version": "2.11.1",
"scripts": {
"commit": "git-cz",
"serve": "cd ./gh-pages-src && yarn serve",
Expand Down
5 changes: 1 addition & 4 deletions src/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ export default {
default: 'https://i.imgur.com/fLYd7PN.gif',
note: 'sets custom loading spinner/indicator. https://loading.io/'
},
// invalid: {
// type: Boolean,
// },
errorMessage: {
type: String,
default: null
Expand Down Expand Up @@ -98,7 +95,7 @@ export default {
},
arrowsDisableInstantSelection: {
type: Boolean,
default: false,
default: true,
note: 'disable auto select when up or down with key arrow.'
},
menuItemsMaxHeight: {
Expand Down
Loading

0 comments on commit 59e9af4

Please sign in to comment.