mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-01 05:03:10 +00:00
ISSUE-7834: Added searchable property to edit user teams and roles (#8245)
Co-authored-by: Finn McClusky <finn.mcclusky@gmail.com>
This commit is contained in:
parent
0b6e3741b3
commit
0770bf3b15
@ -450,9 +450,9 @@ const Users = ({
|
|||||||
<Select
|
<Select
|
||||||
isClearable
|
isClearable
|
||||||
isMulti
|
isMulti
|
||||||
|
isSearchable
|
||||||
aria-label="Select teams"
|
aria-label="Select teams"
|
||||||
className="tw-w-full"
|
className="tw-w-full"
|
||||||
isSearchable={false}
|
|
||||||
options={teams?.map((team) => ({
|
options={teams?.map((team) => ({
|
||||||
label: getEntityName(team as unknown as EntityReference),
|
label: getEntityName(team as unknown as EntityReference),
|
||||||
value: team.id,
|
value: team.id,
|
||||||
@ -587,10 +587,10 @@ const Users = ({
|
|||||||
<Select
|
<Select
|
||||||
isClearable
|
isClearable
|
||||||
isMulti
|
isMulti
|
||||||
|
isSearchable
|
||||||
aria-label="Select roles"
|
aria-label="Select roles"
|
||||||
className="tw-w-full"
|
className="tw-w-full"
|
||||||
id="select-role"
|
id="select-role"
|
||||||
isSearchable={false}
|
|
||||||
options={userRolesOption}
|
options={userRolesOption}
|
||||||
placeholder="Roles..."
|
placeholder="Roles..."
|
||||||
styles={reactSingleSelectCustomStyle}
|
styles={reactSingleSelectCustomStyle}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user