fix(checkbox): change trigger form validation (#6800)

pull/7091/head
Konv Suu 2023-08-06 10:53:37 +08:00 committed by GitHub
parent e204d69e74
commit 8140f9ec02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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