@coreui/vue-pro 4.10.2 → 4.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/form/CFormCheck.ts +2 -2
package/package.json
CHANGED
|
@@ -189,7 +189,7 @@ const CFormCheck = defineComponent({
|
|
|
189
189
|
const formControl = () => {
|
|
190
190
|
return h('input', {
|
|
191
191
|
...attrs,
|
|
192
|
-
...(props.modelValue
|
|
192
|
+
...((props.modelValue || props.value) && { checked: isChecked.value }),
|
|
193
193
|
class: inputClassName,
|
|
194
194
|
id: props.id,
|
|
195
195
|
indeterminate: props.indeterminate,
|
|
@@ -259,4 +259,4 @@ const CFormCheck = defineComponent({
|
|
|
259
259
|
},
|
|
260
260
|
})
|
|
261
261
|
|
|
262
|
-
export { CFormCheck }
|
|
262
|
+
export { CFormCheck }
|