Skip to content

Commit bad0b77

Browse files
committed
Fix selection when value is empty string
Use single quote
1 parent c274693 commit bad0b77

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 === '')
4343
return isSet ? this.value : this.uniqueId
4444
},
4545
inputLabel () {

0 commit comments

Comments
 (0)