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

Reduce null values (#940)

* support falsey values with reduce

* support null values with reduce
This commit is contained in:
Jeff Sagal
2019-09-14 13:53:16 -07:00
committed by GitHub
parent aecbde8343
commit dff8f750a7
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 !== null && this.isTrackingValues) {
if (typeof this.value !== "undefined" && this.isTrackingValues) {
this.setInternalValueFromOptions(this.value)
}