From 63f70075407003fb40c86d8ac28dbd0387feb913 Mon Sep 17 00:00:00 2001 From: Jimmy Porto Date: Wed, 21 Nov 2018 15:39:24 -0200 Subject: [PATCH] solved problems with null object in options --- src/components/Select.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Select.vue b/src/components/Select.vue index 4db3ba5..f376ac1 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -542,7 +542,7 @@ option = this.findOptionByIndexValue(option) } - if (typeof option === 'object') { + if (option && typeof option === 'object') { if (!option.hasOwnProperty(this.label)) { return console.warn( `[vue-select warn]: Label key "option.${this.label}" does not` +