Skip to content

Commit 27160a8

Browse files
committed
Allow false as a value for an MdOption
1 parent 0f96730 commit 27160a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MdField/MdSelect/MdOption.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
return this.MdOptgroup.disabled || this.disabled
4040
},
4141
key () {
42-
let isSet = (this.value || this.value === 0)
42+
let isSet = (this.value || this.value === 0 || this.value === false)
4343
return isSet ? this.value : this.uniqueId
4444
},
4545
inputLabel () {

0 commit comments

Comments
 (0)