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

@ -207,7 +207,7 @@ export function DashboardPage() {
<Media greaterThanOrEqual='tablet'>
<Grid>
<Grid.Row columns={2}>
<Grid.Column width={14}>
<Grid.Column mobile={14}>
<SearchInput clearable
searchStr={searchStr}
onChange={setSearchStr}
@ -219,7 +219,7 @@ export function DashboardPage() {
style={{marginBottom: '2em'}}
/>
</Grid.Column>
<Grid.Column width={2} textAlign='right'>
<Grid.Column textAlign='right' width={2}>
<FileSearchFilterButton size='big'/>
</Grid.Column>
</Grid.Row>

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

View file

@ -2,7 +2,7 @@ Pillow==10.0.1
Pint==0.21
PyYAML==6.0
SQLAlchemy[asyncio]==1.3.22
aiohttp==3.8.5
aiohttp==3.8.6
alembic==1.10.4
beautifulsoup4==4.12.2
cachetools==5.3.0
@ -12,7 +12,7 @@ libzim==3.1.0
mock==5.0.2
psutil==5.9.5
psycopg2-binary==2.9.6
pypdf==3.12.1
pypdf==3.17.0
pytest-asyncio==0.21.0
pytest==7.3.1
python-dateutil==2.8.2