mirror of
https://github.com/keycloak/keycloak.git
synced 2026-04-29 19:52:41 -05:00
keep default value a string when stringify (#31597)
fixes: #31480 Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
@@ -42,7 +42,9 @@ export const MultiValuedListComponent = ({
|
||||
<Controller
|
||||
name={convertToName(name!)}
|
||||
control={control}
|
||||
defaultValue={defaultValue ? [defaultValue] : []}
|
||||
defaultValue={
|
||||
stringify ? defaultValue || "" : defaultValue ? [defaultValue] : []
|
||||
}
|
||||
render={({ field }) => (
|
||||
<KeycloakSelect
|
||||
toggleId={name}
|
||||
|
||||
Reference in New Issue
Block a user