Skip to content

Commit 6fce30c

Browse files
committed
feat(ui): enhance comment input in PlaylistEdit with multiline support and resizing
Signed-off-by: Deluan <[email protected]>
1 parent 6c7f831 commit 6fce30c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

ui/src/playlist/PlaylistEdit.jsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,15 @@ const PlaylistEditForm = (props) => {
3434
return (
3535
<SimpleForm redirect="list" variant={'outlined'} {...props}>
3636
<TextInput source="name" validate={required()} />
37-
<TextInput multiline source="comment" />
37+
<TextInput
38+
multiline
39+
minRows={3}
40+
source="comment"
41+
fullWidth
42+
inputProps={{
43+
style: { resize: 'vertical' },
44+
}}
45+
/>
3846
{permissions === 'admin' ? (
3947
<ReferenceInput
4048
source="ownerId"

0 commit comments

Comments
 (0)