Make Radio Create and Edit forms consistent

This commit is contained in:
Deluan 2023-01-15 15:43:46 -05:00 committed by Joe Stump
parent bbf0677ff5
commit 317d179d21
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -50,8 +50,13 @@ const RadioCreate = (props) => {
<Create title={<Title subTitle={title} />} {...props}>
<SimpleForm save={save} variant={'outlined'}>
<TextInput source="name" validate={[required()]} />
<TextInput type="url" source="streamUrl" validate={[required()]} />
<TextInput type="url" source="homepageUrl" />
<TextInput
type="url"
source="streamUrl"
fullWidth
validate={[required()]}
/>
<TextInput type="url" source="homepageUrl" fullWidth />
</SimpleForm>
</Create>
)