mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
build(deps): bump the npm group in /web with 23 updates (#1750)
This commit is contained in:
parent
63b8519bd9
commit
4ba380b8ea
7 changed files with 707 additions and 761 deletions
|
@ -356,7 +356,14 @@ export const SelectFieldWide = ({
|
|||
}
|
||||
})}
|
||||
value={field?.value && field.value.value}
|
||||
onChange={(option) => setFieldValue(field.name, option?.value ?? "")}
|
||||
onChange={(newValue: unknown) => {
|
||||
if (newValue) {
|
||||
setFieldValue(field.name, (newValue as { value: string }).value);
|
||||
}
|
||||
else {
|
||||
setFieldValue(field.name, "")
|
||||
}
|
||||
}}
|
||||
options={options}
|
||||
/>
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue