Skip to content

Commit

Permalink
Allow false as a value for an MdOption
Browse files Browse the repository at this point in the history
  • Loading branch information
horyd committed Mar 6, 2020
1 parent 0f96730 commit 27160a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MdField/MdSelect/MdOption.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
return this.MdOptgroup.disabled || this.disabled
},
key () {
let isSet = (this.value || this.value === 0)
let isSet = (this.value || this.value === 0 || this.value === false)
return isSet ? this.value : this.uniqueId
},
inputLabel () {
Expand Down

0 comments on commit 27160a8

Please sign in to comment.