[ 
https://issues.apache.org/jira/browse/ARTEMIS-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gašper Čefarin closed ARTEMIS-5512.
-----------------------------------

> Clicking on clear button in search text does not update table as intended
> -------------------------------------------------------------------------
>
>                 Key: ARTEMIS-5512
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5512
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Gašper Čefarin
>            Priority: Minor
>
> {{onClear}} does not behave the same as {{onKeyDown}} for example, probably 
> because the change from {{onSearchTextChange('')}} is not recognized (yet).
> ArtemisTable.tsx:
> {code:javascript}
>             <SearchInput
>               aria-label="search-text"
>               onChange={(_event, value) => onSearchTextChange(value)}
>               value={inputValue}
>               onClear={() => {
>                 onSearchTextChange('');
>                 applyFilter();
>               }}
>               onKeyDown={(e) => {
>                 if (e.key === 'Enter') {
>                   applyFilter();
>                 }
>               }}
>             />{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to