dynamic-forms / Interface

ValueExclusionConfig

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.

Properties

NameTypeDescription
excludeValueIfDisabled
r
boolean | undefined

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.

excludeValueIfHidden
r
boolean | undefined

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.

Notes

This does NOT affect HiddenField (type: 'hidden') — those fields store values without UI and their hidden() state is always false.

excludeValueIfReadonly
r
boolean | undefined

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.