feat(ui): enhance comment input in PlaylistEdit with multiline support and resizing
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -34,7 +34,15 @@ const PlaylistEditForm = (props) => {
|
|||||||
return (
|
return (
|
||||||
<SimpleForm redirect="list" variant={'outlined'} {...props}>
|
<SimpleForm redirect="list" variant={'outlined'} {...props}>
|
||||||
<TextInput source="name" validate={required()} />
|
<TextInput source="name" validate={required()} />
|
||||||
<TextInput multiline source="comment" />
|
<TextInput
|
||||||
|
multiline
|
||||||
|
minRows={3}
|
||||||
|
source="comment"
|
||||||
|
fullWidth
|
||||||
|
inputProps={{
|
||||||
|
style: { resize: 'vertical' },
|
||||||
|
}}
|
||||||
|
/>
|
||||||
{permissions === 'admin' ? (
|
{permissions === 'admin' ? (
|
||||||
<ReferenceInput
|
<ReferenceInput
|
||||||
source="ownerId"
|
source="ownerId"
|
||||||
|
|||||||
Reference in New Issue
Block a user