From 140d6e4dac1f16e490bd7ed5ac5ec938134dead4 Mon Sep 17 00:00:00 2001 From: Justin Bennett Date: Wed, 15 Nov 2023 12:18:43 -0500 Subject: [PATCH] Infer input type on number field --- app/components/form/fields/NumberField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/form/fields/NumberField.tsx b/app/components/form/fields/NumberField.tsx index 238e88b11..36f725ad8 100644 --- a/app/components/form/fields/NumberField.tsx +++ b/app/components/form/fields/NumberField.tsx @@ -27,7 +27,7 @@ export function NumberField< helpText, required, ...props -}: Omit, 'id'>) { +}: Omit, 'id' | 'type'>) { // id is omitted from props because we generate it here const id = useId() return (