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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user