You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gašper Čefarin (Jira)" <ji...@apache.org> on 2025/09/04 08:59:00 UTC
[jira] [Resolved] (ARTEMIS-5512) Clicking on clear button in search text does not update table as intended
[ https://issues.apache.org/jira/browse/ARTEMIS-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gašper Čefarin resolved ARTEMIS-5512.
-------------------------------------
Resolution: Won't Fix
Won't fix because TextInput is now used in place of SearchInput
> 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: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact