useViewCreate
Overview
Extracts all reactive state and wiring for a create view of a model instance. The caller owns the template; this composable owns initial value derivation, form context setup, action availability, error combination, and submission handling.
Pass the component's props directly as options.
Signature
useViewCreate(options)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| options | ViewCreateOptions | yes |
Returns
Source
client/lib/use/useViewCreate.js:129