Skip to content

Commit 23d92dd

Browse files
committed
fix(form): updated TextField PropTypes to allow for search input type
1 parent 9cdc807 commit 23d92dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/form/src/text-field/TextField.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ export type SupportedInputTypes =
3535
| "month"
3636
| "week"
3737
| "url"
38-
| "color";
38+
| "color"
39+
| "search";
3940

4041
type TextFieldAttributes = Omit<InputHTMLAttributes<HTMLInputElement>, "type">;
4142

@@ -249,6 +250,7 @@ if (process.env.NODE_ENV !== "production") {
249250
"week",
250251
"url",
251252
"color",
253+
"search",
252254
]),
253255
style: PropTypes.object,
254256
className: PropTypes.string,

0 commit comments

Comments
 (0)