updateOption(index, "label", e.target.value)}
+ onChange={(e) => updateOptionLocal(index, "label", e.target.value)}
+ onBlur={handleOptionBlur}
placeholder="라벨"
className="flex-1 text-xs"
/>
updateOption(index, "value", e.target.value)}
+ onChange={(e) => updateOptionLocal(index, "value", e.target.value)}
+ onBlur={handleOptionBlur}
placeholder="값"
className="flex-1 text-xs"
/>
updateOption(index, "disabled", !checked)}
+ onCheckedChange={(checked) => {
+ const newOptions = [...localConfig.options];
+ newOptions[index] = { ...newOptions[index], disabled: !checked };
+ const newConfig = { ...localConfig, options: newOptions };
+ setLocalConfig(newConfig);
+ onUpdateProperty("webTypeConfig", newConfig);
+ }}
/>