Skip to main content
cngx-src documentation

injectFormFieldConfig

Functionforms/field

projects/forms/field/form-field.token.ts

Description#

Reads the resolved form-field config in an injection context.

Resolves nearest-first: a provideFormFieldAt on an ancestor component wins over the app-wide provideFormField, which wins over the library default (an empty config).

Signature#

injectFormFieldConfig()

Returns#

FormFieldConfig