Skip to content

use/useFormModelFieldSlots ​

Overview ​

Forwards a FormModel's per-field slots to the FormModelField components inside it, and reports per-field slots that cannot reach a field.

Properties ​

FORM_MODEL_OWN_SLOTS ​

Slots that FormModel renders itself. Every other slot belongs to the fields.

Type: string[]

Source: client/lib/use/useFormModelFieldSlots.js:11

Methods ​

  • useFormModelFieldSlots - Provide a FormModel's per-field slots to every FormModelField it contains, and report per-field slots that cannot reach a field.

Types ​

FormModelFieldSlotsContext ​

Source ​

client/lib/use/useFormModelFieldSlots.js:1