엔티티 즉시저장기능 추가

This commit is contained in:
kjs
2025-12-16 14:38:03 +09:00
parent d8329d31e4
commit f7e3c1924c
17 changed files with 1969 additions and 34 deletions

View File

@@ -302,7 +302,7 @@ export function EntitySearchInputConfigPanel({
<Label className="text-xs sm:text-sm">UI </Label>
<Select
value={localConfig.mode || "combo"}
onValueChange={(value: "autocomplete" | "modal" | "combo") =>
onValueChange={(value: "select" | "autocomplete" | "modal" | "combo") =>
updateConfig({ mode: value })
}
>
@@ -310,11 +310,18 @@ export function EntitySearchInputConfigPanel({
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectItem value="select"> ( )</SelectItem>
<SelectItem value="combo"> ( + )</SelectItem>
<SelectItem value="modal"></SelectItem>
<SelectItem value="autocomplete"></SelectItem>
</SelectContent>
</Select>
<p className="text-[10px] text-muted-foreground">
{localConfig.mode === "select" && "검색 가능한 드롭다운 형태로 표시됩니다."}
{localConfig.mode === "modal" && "모달 팝업에서 데이터를 검색하고 선택합니다."}
{(localConfig.mode === "combo" || !localConfig.mode) && "입력 필드와 검색 버튼이 함께 표시됩니다."}
{localConfig.mode === "autocomplete" && "입력하면서 자동완성 목록이 표시됩니다."}
</p>
</div>
<div className="space-y-2">