Make Radio Create and Edit forms consistent
This commit is contained in:
@@ -50,8 +50,13 @@ const RadioCreate = (props) => {
|
|||||||
<Create title={<Title subTitle={title} />} {...props}>
|
<Create title={<Title subTitle={title} />} {...props}>
|
||||||
<SimpleForm save={save} variant={'outlined'}>
|
<SimpleForm save={save} variant={'outlined'}>
|
||||||
<TextInput source="name" validate={[required()]} />
|
<TextInput source="name" validate={[required()]} />
|
||||||
<TextInput type="url" source="streamUrl" validate={[required()]} />
|
<TextInput
|
||||||
<TextInput type="url" source="homepageUrl" />
|
type="url"
|
||||||
|
source="streamUrl"
|
||||||
|
fullWidth
|
||||||
|
validate={[required()]}
|
||||||
|
/>
|
||||||
|
<TextInput type="url" source="homepageUrl" fullWidth />
|
||||||
</SimpleForm>
|
</SimpleForm>
|
||||||
</Create>
|
</Create>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user