From 5279d1289a0c452b07e246f7d18c8d7aac4e6bec Mon Sep 17 00:00:00 2001 From: Konv Suu <2583695112@qq.com> Date: Mon, 31 Jul 2023 08:52:52 +0800 Subject: [PATCH] fix(checkbox): change trigger form validation. (#6741) --- components/checkbox/Checkbox.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/checkbox/Checkbox.tsx b/components/checkbox/Checkbox.tsx index a52109a5c..fd90e304a 100644 --- a/components/checkbox/Checkbox.tsx +++ b/components/checkbox/Checkbox.tsx @@ -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 = () => {