스타일 수정중
This commit is contained in:
@@ -610,12 +610,6 @@ export const TextInputComponent: React.FC<TextInputComponentProps> = ({
|
||||
readOnly={componentConfig.readonly || (testAutoGeneration.enabled && testAutoGeneration.type !== "none")}
|
||||
className={`box-border h-full w-full max-w-full rounded-md border px-3 py-2 text-sm shadow-sm transition-all duration-200 outline-none ${isSelected ? "border-blue-500 ring-2 ring-blue-100" : "border-gray-300"} ${componentConfig.disabled ? "bg-gray-100 text-gray-400" : "bg-white text-gray-900"} placeholder:text-gray-400 focus:border-orange-500 focus:ring-2 focus:ring-orange-100 disabled:cursor-not-allowed`}
|
||||
onClick={(e) => {
|
||||
console.log("🖱️ Input 클릭됨:", {
|
||||
componentId: component.id,
|
||||
disabled: componentConfig.disabled,
|
||||
readOnly: componentConfig.readonly,
|
||||
autoGenEnabled: testAutoGeneration.enabled,
|
||||
});
|
||||
handleClick(e);
|
||||
}}
|
||||
onDragStart={onDragStart}
|
||||
@@ -633,16 +627,7 @@ export const TextInputComponent: React.FC<TextInputComponentProps> = ({
|
||||
|
||||
// isInteractive 모드에서는 formData 업데이트
|
||||
if (isInteractive && onFormDataChange && component.columnName) {
|
||||
console.log(`✅ TextInputComponent onChange 조건 충족:`, {
|
||||
columnName: component.columnName,
|
||||
newValue,
|
||||
valueType: typeof newValue,
|
||||
isInteractive,
|
||||
hasOnFormDataChange: !!onFormDataChange,
|
||||
onFormDataChangeType: typeof onFormDataChange,
|
||||
});
|
||||
onFormDataChange(component.columnName, newValue);
|
||||
console.log(`✅ onFormDataChange 호출 완료`);
|
||||
} else {
|
||||
console.log("❌ TextInputComponent onFormDataChange 조건 미충족:", {
|
||||
isInteractive,
|
||||
|
||||
Reference in New Issue
Block a user