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:
Finn McClusky 2022-10-19 21:29:11 +11:00 committed by GitHub
parent 0b6e3741b3
commit 0770bf3b15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -450,9 +450,9 @@ const Users = ({
<Select
isClearable
isMulti
isSearchable
aria-label="Select teams"
className="tw-w-full"
isSearchable={false}
options={teams?.map((team) => ({
label: getEntityName(team as unknown as EntityReference),
value: team.id,
@ -587,10 +587,10 @@ const Users = ({
<Select
isClearable
isMulti
isSearchable
aria-label="Select roles"
className="tw-w-full"
id="select-role"
isSearchable={false}
options={userRolesOption}
placeholder="Roles..."
styles={reactSingleSelectCustomStyle}