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

- move mutableLoading data property to ajax mixin

- open dropdown only when not loading
- add watcher to keep loading synced with mutableLoading
This commit is contained in:
Jeff Sagal
2017-03-22 18:33:32 -07:00
parent 4581d732dc
commit bae486a8e3
3 changed files with 28 additions and 3 deletions
+2 -3
View File
@@ -488,8 +488,7 @@
search: '',
open: false,
mutableValue: null,
mutableOptions: [],
mutableLoading: false
mutableOptions: []
}
},
@@ -765,7 +764,7 @@
* @return {Boolean} True if open
*/
dropdownOpen() {
return this.noDrop ? false : this.open
return this.noDrop ? false : this.open && !this.mutableLoading
},
/**