We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1a8203 commit 00574cfCopy full SHA for 00574cf
src/components/form/CSelect.vue
@@ -223,7 +223,7 @@ export default {
223
if (this.$attrs.multiple !== undefined) return
224
const optionIndex = e.target.selectedOptions[0].dataset.key
225
const option = this.options[optionIndex]
226
- const value = option.value || option
+ const value = option.value !== undefined ? option.value : option
227
this.state = value
228
this.$emit('update:value', value, e)
229
}
0 commit comments