ViewCreateOptions
Overview
Required identification.
Properties
app
Django app label that owns the model.
Type: string
Source: client/lib/use/useViewCreate.js:84
formProps
Extra props merged into the FormModel component.
Type: any
Source: client/lib/use/useViewCreate.js:90
model
Django model name.
Optional form overrides.
Type: string
Source: client/lib/use/useViewCreate.js:85
redirectAfter
Named view to redirect to after a successful create.
Type: "list" | "update" | "read"
Source: client/lib/use/useViewCreate.js:89
submitFields
Field names included in the submission payload; overrides the model config default.
Type: string[]
Source: client/lib/use/useViewCreate.js:88
Source
client/lib/use/useViewCreate.js:81