Add an id attribute to Search boxes. Should fix #1998

This commit is contained in:
Deluan 2022-11-21 13:44:16 -05:00
parent 19af11efbe
commit fcb891e704
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ const AlbumFilter = (props) => {
const translate = useTranslate()
return (
<Filter {...props} variant={'outlined'}>
<SearchInput source="name" alwaysOn />
<SearchInput id="search" source="name" alwaysOn />
<ReferenceInput
label={translate('resources.album.fields.artist')}
source="artist_id"

View File

@ -60,7 +60,7 @@ const ArtistFilter = (props) => {
const translate = useTranslate()
return (
<Filter {...props} variant={'outlined'}>
<SearchInput source="name" alwaysOn />
<SearchInput id="search" source="name" alwaysOn />
<ReferenceInput
label={translate('resources.artist.fields.genre')}
source="genre_id"

View File

@ -13,7 +13,7 @@ import { SimpleList, List } from '../common'
const PlayerFilter = (props) => (
<Filter {...props} variant={'outlined'}>
<SearchInput source="name" alwaysOn />
<SearchInput id="search" source="name" alwaysOn />
</Filter>
)

View File

@ -12,7 +12,7 @@ import { List, DateField } from '../common'
const UserFilter = (props) => (
<Filter {...props} variant={'outlined'}>
<SearchInput source="name" alwaysOn />
<SearchInput id="search" source="name" alwaysOn />
</Filter>
)