fixes issue with labels not being applied for selected items defined as user profile attributes with type multiselect (#34457)
Signed-off-by: Isaac Mercieca <isaac.mercieca@rs2.com>
This commit is contained in:
parent
e41ca1f579
commit
64f97be053
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export const SelectComponent = (props: UserProfileFieldProps) => {
|
||||||
}}
|
}}
|
||||||
selections={
|
selections={
|
||||||
isMultiValue && Array.isArray(field.value)
|
isMultiValue && Array.isArray(field.value)
|
||||||
? field.value
|
? field.value.map((option) => fetchLabel(option))
|
||||||
: fetchLabel(field.value)
|
: fetchLabel(field.value)
|
||||||
}
|
}
|
||||||
variant={
|
variant={
|
||||||
|
|
Loading…
Reference in a new issue