CreatePage
<CreatePage
entity="Article"
redirectOnSuccess="articleEdit(id: $entity.id)"
rendererProps={{ title: 'Create article' }}
>
<TextField label="Name" name="name" />
</CreatePage>
CreatePageProps
CreatePageProps
Intersection of
Omit
SugaredUnconstrainedQualifiedSingleEntity
SugaredUnconstrainedQualifiedSingleEntity
alias
| string| Set<string>
entity*
| string| SugarableUnconstrainedQualifiedSingleEntity
expectedMutation
ExpectedQualifiedEntityMutation
isNonbearing
boolean
onBeforePersist*
| undefined| EntityAccessor.BeforePersistHandler| Set<EntityAccessor.BeforePersistHandler>
onBeforeUpdate*
| undefined| EntityAccessor.BatchUpdatesHandler| Set<EntityAccessor.BatchUpdatesHandler>
onConnectionUpdate
onInitialize*
| undefined| EntityAccessor.BatchUpdatesHandler| Set<EntityAccessor.BatchUpdatesHandler>
onPersistError*
| undefined| EntityAccessor.PersistErrorHandler| Set<EntityAccessor.PersistErrorHandler>
onPersistSuccess*
| undefined| EntityAccessor.PersistSuccessHandler| Set<EntityAccessor.PersistSuccessHandler>
onUpdate*
| undefined| EntityAccessor.UpdateListener| Set<EntityAccessor.UpdateListener>
setOnCreate
SugaredSetOnCreate
EntitySubTreeAdditionalProps
EntitySubTreeAdditionalProps
variables
Environment.ValuesMapWithFactory
EntitySubTreeAdditionalCreationProps
EntitySubTreeAdditionalCreationProps
Union of
SetOrderFieldOnCreateOwnProps
SetOrderFieldOnCreateOwnProps
newOrderFieldValue
number
orderField*
| string| SugaredRelativeSingleField
CreatePageProps
children*
React.ReactNode
pageName
string
redirectOnSuccess
RedirectOnSuccessTarget
rendererProps
LayoutRendererProps