8000
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 b85adb2 commit d5ecf89Copy full SHA for d5ecf89
packages/coreui-vue/src/components/form/CFormInput.ts
@@ -188,7 +188,7 @@ const CFormInput = defineComponent({
188
onInput: (event: InputEvent) => handleInput(event),
189
readonly: props.readonly,
190
type: props.type,
191
- ...(props.modelValue && { value: props.modelValue }),
+ ...((props.modelValue || props.modelValue === 0) && { value: props.modelValue })
192
},
193
slots.default && slots.default(),
194
),
0 commit comments