Skip to content

Commit

Permalink
Infer input type on number field
Browse files Browse the repository at this point in the history
  • Loading branch information
zephraph committed Nov 15, 2023
1 parent d59ccb6 commit 140d6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/form/fields/NumberField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function NumberField<
helpText,
required,
...props
}: Omit<TextFieldProps<TFieldValues, TName>, 'id'>) {
}: Omit<TextFieldProps<TFieldValues, TName>, 'id' | 'type'>) {
// id is omitted from props because we generate it here
const id = useId()
return (
Expand Down

0 comments on commit 140d6e4

Please sign in to comment.