@coreui/vue-pro 4.10.2 → 4.10.4
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/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 }
|
|
@@ -187,7 +187,11 @@ const CSmartTableHead = defineComponent({
|
|
|
187
187
|
)
|
|
188
188
|
},
|
|
189
189
|
onChange: (event: Event) => {
|
|
190
|
-
emit(
|
|
190
|
+
emit(
|
|
191
|
+
'filterChange',
|
|
192
|
+
getColumnKey(column),
|
|
193
|
+
(event.target as HTMLInputElement).value,
|
|
194
|
+
)
|
|
191
195
|
},
|
|
192
196
|
'aria-label': `column name: '${getColumnLabel(
|
|
193
197
|
column,
|