Fix number field render

This commit is contained in:
WithoutPants
2024-09-23 10:14:29 +10:00
parent 33050f700e
commit 82f4a8f671

View File

@@ -137,14 +137,16 @@ export function formikUtils<V extends FormikValues>(
/> />
); );
} else if (type === "number") { } else if (type === "number") {
<NumberField control = (
type={type} <NumberField
className="text-input" type={type}
placeholder={placeholder} className="text-input"
{...formikProps} placeholder={placeholder}
value={value} {...formikProps}
isInvalid={!!error} value={value}
/>; isInvalid={!!error}
/>
);
} else { } else {
control = ( control = (
<Form.Control <Form.Control