라벨표시 수정
This commit is contained in:
@@ -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 || ""}
|
||||
|
||||
Reference in New Issue
Block a user