pickViewFormModelProps
Overview
Picks the form props that a view's options carry, keyed by FormModel prop name.
Signature
pickViewFormModelProps(options)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| options | any | yes | The view's props or composable options. |
Returns
any
The values of VIEW_FORM_MODEL_PROPS, plus variant from formModelVariant. A prop that the options lack is undefined.
Source
client/lib/use/useFormModelProps.js:44