Pages
Create page
The CreatePage
component is the main wrapper for all content on the create site. It is the root component for all other components.
<CreatePageentity="Article"redirectOnSuccess="articleEdit(id: $entity.id)"rendererProps={{ title: 'Create article' }}><TextField label="Name" name="name" /></CreatePage>
Props
Prop | Description |
---|---|
| Renders content of the component. Required |
| string Page name |
| undefined | Key | null The key of the field. If the key is not specified, the key is generated from the field name. |
Edit page
The EditPage
component is the main wrapper for all content on the edit site. It is the root component for all other components.
<EditPageentity="Article(id = $id)"rendererProps={{ title: 'Edit article' }}><TextField label="Name" name="name" /></EditPage>
Props
Prop | Description |
---|---|
| Renders content of the component. Required |
| string Page name |
| undefined | Key | null The key of the field. If the key is not specified, the key is generated from the field name. |
MultiEdit page
The MultiEditPage
component is the main wrapper for all content on the edit site. It is the root component for all other components.
<MultiEditPageentities="BottleVolume"rendererProps={{ title: 'Bottle volumes', sortableBy: 'order' }}><TextField field="volume" label="Volume" /></MultiEditPage>
Props
Prop | Description |
---|---|
| Renders content of the component. Required |
| string Page name |
| undefined | Key | null The key of the field. If the key is not specified, the key is generated from the field name. |