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.
2 parents b85adb2 + d5ecf89 commit 8201e3eCopy full SHA for 8201e3e
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