ebta-workflow-prod 4.0.18 → 4.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -197,7 +197,7 @@ function ItemSearcher_V2(props: ItemSearcher_V2Props): React.ReactElement {
|
|
|
197
197
|
clearTimeout(debounceTimer.current);
|
|
198
198
|
debounceTimer.current = setTimeout(() => {
|
|
199
199
|
setProperty("searchQuery" as any, value); // triggers the expensive effect
|
|
200
|
-
},
|
|
200
|
+
}, 300);
|
|
201
201
|
};
|
|
202
202
|
|
|
203
203
|
|
|
@@ -1012,9 +1012,13 @@ function ItemSearcher_V2(props: ItemSearcher_V2Props): React.ReactElement {
|
|
|
1012
1012
|
onChange={handleSearchChange}
|
|
1013
1013
|
sx={{ padding: '1px', fontSize: '1.4rem', color: 'var(--accentIconBorder) !important', width: '100%' }}
|
|
1014
1014
|
/>
|
|
1015
|
-
{
|
|
1015
|
+
{(inputValue && inputValue!=='') && (
|
|
1016
1016
|
<IconButton
|
|
1017
|
-
onClick={() => {
|
|
1017
|
+
onClick={() => {
|
|
1018
|
+
setInputValue('');
|
|
1019
|
+
clearTimeout(debounceTimer.current);
|
|
1020
|
+
setProperty("searchQuery" as any, '');
|
|
1021
|
+
}}
|
|
1018
1022
|
size="large"
|
|
1019
1023
|
sx={{ position: 'absolute', right: '8px', color: 'var(--alertGrayBackground) !important' }}
|
|
1020
1024
|
>
|