Skip to content

Commit a32e1a9

Browse files
authored
Merge pull request #161 from slafayIGN/fix/issue_159
fix(Input): no type on textarea
2 parents c038ea1 + 404c0be commit a32e1a9

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)