mirror of
https://github.com/stashapp/stash.git
synced 2026-04-18 13:01:29 +02:00
Fix number field render
This commit is contained in:
parent
33050f700e
commit
82f4a8f671
1 changed files with 10 additions and 8 deletions
|
|
@ -137,14 +137,16 @@ export function formikUtils<V extends FormikValues>(
|
|||
/>
|
||||
);
|
||||
} else if (type === "number") {
|
||||
<NumberField
|
||||
type={type}
|
||||
className="text-input"
|
||||
placeholder={placeholder}
|
||||
{...formikProps}
|
||||
value={value}
|
||||
isInvalid={!!error}
|
||||
/>;
|
||||
control = (
|
||||
<NumberField
|
||||
type={type}
|
||||
className="text-input"
|
||||
placeholder={placeholder}
|
||||
{...formikProps}
|
||||
value={value}
|
||||
isInvalid={!!error}
|
||||
/>
|
||||
);
|
||||
} else {
|
||||
control = (
|
||||
<Form.Control
|
||||
|
|
|
|||
Loading…
Reference in a new issue