Skip to content

useFormModelProps ​

Overview ​

Returns the props for a view's FormModel, merged in the documented precedence.

Bind the result as the only source of FormModel props, so the template's binding order cannot change it.

Signature ​

useFormModelProps(options)

Parameters ​

NameTypeRequiredDescription
optionsFormModelPropsOptionsyes

Returns ​

ComputedRef

The merged props, with app, model, and view set from the view.

Source ​

client/lib/use/useFormModelProps.js:89