fix: Select Item 빈 문자열 value 에러 수정

문제:
- SelectItem에 빈 문자열 value 전달 시 에러
- col.columnName이 빈 문자열일 수 있음

수정:
- filter에 col.columnName 체크 추가
- 빈 문자열 컬럼 제외

에러 메시지:
A <Select.Item /> must have a value prop
that is not an empty string
This commit is contained in:
kjs 2025-10-01 17:18:06 +09:00
parent d22e83d234
commit 767c031629
1 changed files with 1 additions and 0 deletions

View File

@ -233,6 +233,7 @@ const ControlConditionStep: React.FC<ControlConditionStepProps> = ({ state, acti
{[...fromColumns, ...toColumns]
.filter(
(col, index, array) =>
col.columnName && // 빈 문자열 제외
array.findIndex((c) => c.columnName === col.columnName) === index,
)
.map((col) => (