Changing clear button type to button instead of submit to avoid clearing search on enter.

Bump aiohttp from 3.8.5 to 3.8.6

Bump pypdf from 3.12.1 to 3.17.0
This commit is contained in:
Roland 2023-11-14 23:35:51 +00:00
parent 7d9becdde6
commit 67c8db5203
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
3 changed files with 5 additions and 5 deletions

View file

@ -454,7 +454,7 @@ export function SearchInput({
}
if ((action || actionIcon) && searchStr && searchStr === value && clearable) {
action = <Button icon='close' size={size} onClick={handleClearSearch}/>;
action = <Button icon='close' size={size} onClick={handleClearSearch} type='button'/>;
} else if (actionIcon) {
action = <Button icon={actionIcon} size={size}/>;
} else if (action) {