Skip to content

Commit

Permalink
multiline inputs for posts
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrembecky committed Dec 9, 2023
1 parent 255661a commit 433a6b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Admin/resources/cms/post/PostCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const PostCreate: FC = () => (
<NumberInput source="id" fullWidth disabled />
<TextInput source="caption" fullWidth validate={required()} />
<TextInput source="short_text" fullWidth validate={required()} />
<TextInput source="details" fullWidth />
<TextInput source="details" multiline fullWidth />
<DateTimeInput source="added_at" fullWidth disabled />
<DateTimeInput source="visible_after" fullWidth validate={required()} />
<DateTimeInput source="visible_until" fullWidth validate={required()} />
Expand Down
2 changes: 1 addition & 1 deletion src/components/Admin/resources/cms/post/PostEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const PostEdit: FC = () => (
<NumberInput source="id" fullWidth disabled />
<TextInput source="caption" fullWidth validate={required()} />
<TextInput source="short_text" fullWidth validate={required()} />
<TextInput source="details" fullWidth />
<TextInput source="details" multiline fullWidth />
<DateTimeInput source="added_at" fullWidth disabled />
<DateTimeInput source="visible_after" fullWidth validate={required()} />
<DateTimeInput source="visible_until" fullWidth validate={required()} />
Expand Down

0 comments on commit 433a6b8

Please sign in to comment.