2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-07 07:12:23 +03:00

- add dev example

- rename `filterOptions` prop to `filterable`
- update tests
This commit is contained in:
Jeff
2017-12-09 09:50:30 -08:00
parent 283cb4f49b
commit 73e67a673b
4 changed files with 24 additions and 12 deletions
+2 -2
View File
@@ -526,7 +526,7 @@
* with taggable.
* @type {Boolean}
*/
filterOptions: {
filterable: {
type: Boolean,
default: true
},
@@ -915,7 +915,7 @@
* @return {array}
*/
filteredOptions() {
if (!this.filterOptions && !this.taggable) {
if (!this.filterable && !this.taggable) {
return this.mutableOptions.slice()
}
let options = this.mutableOptions.filter((option) => {