Skip to content

Commit 5044f25

Browse files
authored
Merge pull request #72 from marcosmoura/bugfix/#64-md-container-crashing-when-value-is-null
Bugfix/#64 md container crashing when value is null
2 parents c15fc28 + 02219df commit 5044f25

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)