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

support falsey values with reduce (#939)

This commit is contained in:
Jeff Sagal
2019-09-13 15:28:33 -07:00
committed by GitHub
parent 79577b4bae
commit 305801e37f
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -508,7 +508,7 @@
created() {
this.mutableLoading = this.loading;
if (this.value && this.isTrackingValues) {
if (this.value !== null && this.isTrackingValues) {
this.setInternalValueFromOptions(this.value)
}