[#419] removed duplicate adornment and ugly padding (#428)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2026-01-05 11:48:05 +01:00
committed by GitHub
parent 6839353f34
commit e59d878e6c
6 changed files with 45 additions and 36 deletions
@@ -273,6 +273,9 @@ export function PeopleSearch({
onChange(event, mapped);
}}
slotProps={customSlotProps}
// When render input is custom, the adornments should be handled by the custom component
forcePopupIcon={!customRenderInput}
disableClearable={!!customRenderInput}
renderInput={(params) =>
customRenderInput
? customRenderInput(params, query, setQuery)