mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 20:40:21 +02:00
add image loader/unloader and only toggle source
This commit is contained in:
@@ -230,19 +230,19 @@ export const AddToPlaylistContextModal = ({
|
||||
clearable
|
||||
data={playlistSelect}
|
||||
disabled={playlistList.isLoading}
|
||||
dropdownOpened={isDropdownOpened}
|
||||
label={t('form.addToPlaylist.input', {
|
||||
context: 'playlists',
|
||||
postProcess: 'titleCase',
|
||||
})}
|
||||
searchable
|
||||
size="md"
|
||||
dropdownOpened={isDropdownOpened}
|
||||
{...form.getInputProps('playlistId')}
|
||||
onClick={() => setIsDropdownOpened(true)}
|
||||
onChange={(e) => {
|
||||
setIsDropdownOpened(false);
|
||||
form.getInputProps('playlistId').onChange(e);
|
||||
}}
|
||||
onClick={() => setIsDropdownOpened(true)}
|
||||
/>
|
||||
<Switch
|
||||
label={t('form.addToPlaylist.input', {
|
||||
|
||||
Reference in New Issue
Block a user