submitButtonFieldMapper
Mapper for submit button - configures native form submission via type="submit"
Unlike other buttons, submit buttons don't dispatch events directly. Instead, they trigger native form submission which the form component intercepts and dispatches to the EventBus.
Disabled state is resolved using the button-logic-resolver which considers:
- Explicit
disabled: trueon the field definition - Field-level
logicarray (if present, overrides form-level defaults) - Form-level
options.submitButtondefaults (disableWhenInvalid, disableWhileSubmitting)
Presentation
function submitButtonFieldMapper (
fieldDef: FieldDef <Record<string, unknown>>,
): Signal<Record<string, unknown>>;Returns
Signal<Record<string, unknown>> -Signal containing Record of input names to values for ngComponentOutlet
Parameters
| Name | Type | Description |
|---|---|---|
| fieldDef | | The submit button field definition |