mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Fix number field render
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user