fix(checkbox): change trigger form validation. (#6741)

pull/6805/head
Konv Suu 2023-07-31 08:52:52 +08:00 committed by GitHub
parent 9d406ab7ba
commit 5279d1289a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ export default defineComponent({
const targetChecked = event.target.checked;
emit('update:checked', targetChecked);
emit('change', event);
formItemContext.onFieldChange();
};
const checkboxRef = ref();
const focus = () => {