Interface

ValueExclusionConfig

@ng-forge/dynamic-forms

Configuration for excluding field values from form submission output based on their reactive state (hidden, disabled, readonly).

Supports a 3-tier configuration hierarchy: Field > Form > Global. The most specific level wins for each property.

@public

Signature

interface ValueExclusionConfig

Properties

NameTypeDescription
excludeValueIfHidden ?boolean

Whether to exclude the value of hidden fields from submission output.

When true, fields whose hidden() state is true will have their values omitted from the submitted form value.

excludeValueIfDisabled ?boolean

Whether to exclude the value of disabled fields from submission output.

When true, fields whose disabled() state is true will have their values omitted from the submitted form value.

excludeValueIfReadonly ?boolean

Whether to exclude the value of readonly fields from submission output.

When true, fields whose readonly() state is true will have their values omitted from the submitted form value.