Skip to content

Commit

Permalink
Fix selection when value is empty string
Browse files Browse the repository at this point in the history
Use single quote
  • Loading branch information
ittus committed May 29, 2019
1 parent c274693 commit bad0b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MdField/MdSelect/MdOption.vue
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 === '')
return isSet ? this.value : this.uniqueId
},
inputLabel () {
Expand Down

0 comments on commit bad0b77

Please sign in to comment.