Make Radio Create and Edit forms consistent
This commit is contained in:
parent
a8478ca74c
commit
d319b66ff3
1 changed files with 7 additions and 2 deletions
|
|
@ -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>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue