라벨표시 수정

This commit is contained in:
kjs
2025-09-22 14:13:05 +09:00
parent 4b28530fec
commit 0258c2a76c
14 changed files with 235 additions and 144 deletions

View File

@@ -71,10 +71,10 @@ export const TestInputComponent: React.FC<TestInputComponentProps> = ({
...domProps
} = props;
return (
return (
<div style={componentStyle} className={className} {...domProps}>
{/* 라벨 렌더링 */}
{component.label && (
{component.label && component.style?.labelDisplay !== false && (
<label
style={{
position: "absolute",
@@ -89,7 +89,7 @@ export const TestInputComponent: React.FC<TestInputComponentProps> = ({
{component.required && <span style={{ color: "#ef4444" }}>*</span>}
</label>
)}
<input
type="text"
value={component.value || ""}