From 0f69e9df18524fec23e86a4bdf6bac2fc6bf9467 Mon Sep 17 00:00:00 2001
From: Camille Moussu <66134347+Eriikah@users.noreply.github.com>
Date: Thu, 5 Mar 2026 14:39:02 +0100
Subject: [PATCH] [#554] removed people icon on adding people chips and removed
cross (#609)
---
src/components/Attendees/PeopleSearch.tsx | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/src/components/Attendees/PeopleSearch.tsx b/src/components/Attendees/PeopleSearch.tsx
index 86f3585..7458509 100644
--- a/src/components/Attendees/PeopleSearch.tsx
+++ b/src/components/Attendees/PeopleSearch.tsx
@@ -161,14 +161,13 @@ export function PeopleSearch({
(params: AutocompleteRenderInputParams) => {
const inputProps = {
...params.InputProps,
- startAdornment: (
- <>
-
- {params.InputProps.startAdornment}
- >
+ startAdornment: params.InputProps.startAdornment ? (
+ params.InputProps.startAdornment
+ ) : (
+
),
endAdornment: (
<>
@@ -309,8 +308,8 @@ export function PeopleSearch({
},
}}
// When render input is custom, the adornments should be handled by the custom component
- forcePopupIcon={!customRenderInput}
- disableClearable={!!customRenderInput}
+ forcePopupIcon={false}
+ disableClearable
renderInput={(params) =>
customRenderInput
? customRenderInput(params, query, setQuery)