diff --git a/frontend/src/MuiForms/EntitySelector.tsx b/frontend/src/MuiForms/EntitySelector.tsx index dd19e5f2a..c06b33851 100644 --- a/frontend/src/MuiForms/EntitySelector.tsx +++ b/frontend/src/MuiForms/EntitySelector.tsx @@ -5,6 +5,7 @@ import TextField from '@mui/material/TextField' import { FormContextType } from '@rjsf/utils' import { debounce } from 'lodash-es' import { KeyboardEvent, SyntheticEvent, useCallback, useEffect, useMemo, useState } from 'react' +import UserDisplay from 'src/common/UserDisplay' import { EntityObject } from 'types/types' import { useGetCurrentUser, useListUsers } from '../../actions/user' @@ -98,7 +99,11 @@ export default function EntitySelector(props: EntitySelectorProps) { renderTags={(value, getTagProps) => value.map((option, index) => ( - + } + /> )) } @@ -135,7 +140,7 @@ export default function EntitySelector(props: EntitySelectorProps) { {currentValue.map((entity) => ( - + } key={entity} sx={{ width: 'fit-content' }} /> ))}