From: 7PH Date: Thu, 15 Jun 2023 08:59:41 +0000 (+0200) Subject: SONAR-19236 Fix hotspot assignee selection dropdown which resets the search after... X-Git-Tag: 10.1.0.73491~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=91a936f67eff94fd267541d952d96e7399b4bd1a;p=sonarqube.git SONAR-19236 Fix hotspot assignee selection dropdown which resets the search after a click inside the popup --- diff --git a/server/sonar-web/design-system/src/components/SearchSelectDropdown.tsx b/server/sonar-web/design-system/src/components/SearchSelectDropdown.tsx index 96480ed7d7e..f44bff6484d 100644 --- a/server/sonar-web/design-system/src/components/SearchSelectDropdown.tsx +++ b/server/sonar-web/design-system/src/components/SearchSelectDropdown.tsx @@ -78,6 +78,8 @@ export function SearchSelectDropdown< minLength, controlAriaLabel, menuIsOpen, + onChange, + onInputChange, zLevel = PopupZLevel.Global, ...rest } = props; @@ -102,9 +104,9 @@ export function SearchSelectDropdown< const handleChange = React.useCallback( (newValue: OnChangeValue, actionMeta: ActionMeta