fix(checkbox): change trigger form validation. (#6741)
parent
9d406ab7ba
commit
5279d1289a
|
@ -63,6 +63,7 @@ export default defineComponent({
|
||||||
const targetChecked = event.target.checked;
|
const targetChecked = event.target.checked;
|
||||||
emit('update:checked', targetChecked);
|
emit('update:checked', targetChecked);
|
||||||
emit('change', event);
|
emit('change', event);
|
||||||
|
formItemContext.onFieldChange();
|
||||||
};
|
};
|
||||||
const checkboxRef = ref();
|
const checkboxRef = ref();
|
||||||
const focus = () => {
|
const focus = () => {
|
||||||
|
|
Loading…
Reference in New Issue