mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 17:46:00 +00:00
fix
This commit is contained in:
@@ -92,7 +92,7 @@ export function FormReactSelect({ options, name, isMulti = false }) {
|
||||
return (
|
||||
<Select
|
||||
options={options}
|
||||
defaultValue={
|
||||
value={
|
||||
isMulti
|
||||
? options.filter((x) => values[name] && values[name].includes(x.value))
|
||||
: options.find((x) => x.value == values[name])
|
||||
|
||||
Reference in New Issue
Block a user