Skip to content

Commit 02219df

Browse files
committed
Fix md-input-container crashing when the select value is null #64
1 parent e1f997b commit 02219df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/mdInputContainer/mdInputContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
computed: {
3939
hasValue() {
40-
if (this.value.constructor === Array) {
40+
if (this.value && this.value.constructor === Array) {
4141
return this.value.length > 0;
4242
}
4343

0 commit comments

Comments
 (0)