diff --git a/src/components/dialog/PerformanceDetailDialog.tsx b/src/components/dialog/PerformanceDetailDialog.tsx index 144d31e..669d992 100644 --- a/src/components/dialog/PerformanceDetailDialog.tsx +++ b/src/components/dialog/PerformanceDetailDialog.tsx @@ -651,7 +651,7 @@ export function PerformanceDetailDialog({ {isEditing ? ( - updateDetail("UpdateNoticeTarget", value)} options={codes.update_notice_target ?? []} placeholder={PERFORMANCE_FIELD_LABELS.UpdateNoticeTarget} /> + updateDetail("UpdateNoticeTarget", value)} options={codes.update_notice_target ?? []} placeholder={PERFORMANCE_FIELD_LABELS.UpdateNoticeTarget} clearLabel="선택 해제" /> ) : getCodeLabel(codes, "update_notice_target", draft.performanceDetail["UpdateNoticeTarget"])} {isEditing ? updateDetail("UpdateNoticeMemo", event.target.value)} /> : draft.performanceDetail["UpdateNoticeMemo"] ?? ""} diff --git a/src/components/gwcf/FilterSelect.tsx b/src/components/gwcf/FilterSelect.tsx index 8e69d05..0f193fa 100644 --- a/src/components/gwcf/FilterSelect.tsx +++ b/src/components/gwcf/FilterSelect.tsx @@ -10,6 +10,7 @@ export function FilterSelect({ placeholder, className, useClear = true, + clearLabel = "전체", }: { value: string; onChange: (value: string) => void; @@ -17,6 +18,7 @@ export function FilterSelect({ placeholder: string; className?: string; useClear?: boolean; + clearLabel?: string; }) { return ( String(item.codeValue)} getLabel={(item) => item.codeLabel} useClear={useClear} - clearLabel="전체" + clearLabel={clearLabel} widthClassName={className} spanClassName="text-sm" badgeClassName="text-sm"