Skip to content

Commit 404c0be

Browse files
committed
fix: no type on textarea
1 parent c038ea1 commit 404c0be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const Input = memo(
156156
)}
157157
disabled={disabled || undefined}
158158
aria-describedby={messageId}
159-
type={nativeInputProps?.type ?? "text"}
159+
type={textArea ? undefined : nativeInputProps?.type ?? "text"}
160160
id={inputId}
161161
/>
162162
);

0 commit comments

Comments
 (0)