mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 19:50:37 +03:00
Add an id
attribute to Search boxes. Should fix #1998
This commit is contained in:
parent
19af11efbe
commit
fcb891e704
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
)
|
||||
|
||||
|
@ -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>
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user