Skip to content

useFieldSetTabularHeaderProps

Overview

Returns computed header props (label, help, required, invalid, readOnly) for a field in tabular form mode.

Signature

useFieldSetTabularHeaderProps(formModel, formContext, formModelName, fieldValuePath)

Parameters

NameTypeRequiredDescription
formModelobjectyesThe form model's reactive state.
formContextFormContextyesThe form context object.
formModelNamestring | RefyesThe full FormModel name of the field.
fieldValuePathstring | RefyesThe field value path.

formModel Properties

NameTypeRequiredDefaultDescription
appstringThe app name to load form configuration for
baseFieldNamesReadonlySetThe field names that are not expanded.
expandtypeOperatorThe fields to expand, either passed in or from config.
expandDetailsobjectThe merged expandDetails, either passed in, from config or from server info.
expandedFieldNamesReadonlySetThe field names that are expanded and base.
expansionFieldNamesReadonlySetThe field names that are expanded.
fieldComponentsobjectThe field components to use, either passed in or as a result of fieldObject or expandObject.
fieldDetailsobjectThe merged fieldDetails, either passed in, from config or from server info.
fieldstypeOperatorThe fields to display, either passed in or from config.
modelstringThe model name to load form configuration for
viewstringThe view name if wanting to use view specific configuration.
widgetComponentsobjectThe widget components to use, either passed in or as a result of fieldObject or expandObject.

Returns

ComputedRef

  • The field header props.

Source

client/lib/use/useFieldSetTabularHeaderProps.js:28

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2