Fix selected value
This commit is contained in:
parent
06d881aa7f
commit
4ca9029dc9
|
@ -122,7 +122,9 @@
|
|||
this={component}
|
||||
{options}
|
||||
{autocomplete}
|
||||
value={selectedValue}
|
||||
value={selectedValue?.map(value =>
|
||||
typeof value === "object" ? value._id : value
|
||||
)}
|
||||
on:change={multiselect ? multiHandler : singleHandler}
|
||||
id={fieldState.fieldId}
|
||||
disabled={fieldState.disabled}
|
||||
|
|
Loading…
Reference in New Issue