From 7cdedf2cf8e807eeea9134888dc9bd1586978ea8 Mon Sep 17 00:00:00 2001 From: 0-Zz-ang Date: Fri, 8 Aug 2025 17:15:22 +0900 Subject: (박서영)combo box 옵션 및 number type config Add에러 수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../combo-box-settings/table/combo-box-options-add-dialog.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/docu-list-rule/combo-box-settings/table/combo-box-options-add-dialog.tsx') diff --git a/lib/docu-list-rule/combo-box-settings/table/combo-box-options-add-dialog.tsx b/lib/docu-list-rule/combo-box-settings/table/combo-box-options-add-dialog.tsx index a0535b43..9a3f8a86 100644 --- a/lib/docu-list-rule/combo-box-settings/table/combo-box-options-add-dialog.tsx +++ b/lib/docu-list-rule/combo-box-settings/table/combo-box-options-add-dialog.tsx @@ -59,6 +59,7 @@ export function ComboBoxOptionsAddDialog({ codeGroupId, onSuccess }: ComboBoxOpt const handleCodeChange = (value: string) => { form.setValue("code", value) form.setValue("description", value) // 코드값을 description에도 자동 설정 + form.trigger() // 폼 유효성 검사 트리거 } const handleSubmit = (data: CreateOptionSchema) => { @@ -155,7 +156,10 @@ export function ComboBoxOptionsAddDialog({ codeGroupId, onSuccess }: ComboBoxOpt - -- cgit v1.2.3