텍스트 설정 초기화 되는 오류 수정

This commit is contained in:
kjs
2025-10-23 13:24:37 +09:00
parent 23f7b89cc5
commit b104cd94f2
2 changed files with 6 additions and 16 deletions

View File

@@ -524,8 +524,10 @@ export const UnifiedPropertiesPanel: React.FC<UnifiedPropertiesPanelProps> = ({
tables={tables}
onChange={(newConfig) => {
console.log("🔄 DynamicComponentConfigPanel onChange:", newConfig);
// 전체 componentConfig를 업데이트
handleUpdate("componentConfig", newConfig);
// 개별 속성별로 업데이트하여 다른 속성과의 충돌 방지
Object.entries(newConfig).forEach(([key, value]) => {
handleUpdate(`componentConfig.${key}`, value);
});
}}
/>
</div>