Gašper Čefarin created ARTEMIS-5512:
---------------------------------------

             Summary: 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


{{onClear does not behave the same as onKeyDown for example, probably because 
the change from onSearchTextChange('') is not recognized (yet).}}


{{ArtemisTable.tsx}}

{{            <SearchInput}}
{{              aria-label="search-text"}}
{{              onChange=\{(_event, value) => onSearchTextChange(value)}}}
{{              value=\{inputValue}}}
{{              onClear={() => {}}
{{                onSearchTextChange('');}}
{{                applyFilter();}}
{{              }}}}
{{              onKeyDown={(e) => {}}
{{                if (e.key === 'Enter') {}}
{{                  applyFilter();}}
{{                }}}
{{              }}}}
{{            />}}



--
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