The form schema that drives rendering. Contains title, description, questions array, and optional submit label.
The reactive form group built from the form definition
Emitted when the user submits the form. The payload is a key-value map where keys are question IDs and values are the user's responses.
Whether a submission is in progress
Controls overall visibility. When false, the component renders nothing.
Defaults to true so the form is always shown unless explicitly hidden.
The choice question that should render in the footer (if present). When a form has a buttongroup/radio question, those buttons replace the standard Submit button in the footer.
Whether this form renders as a simple choice (single buttongroup/radio, no title).
Whether the form should be visible (has questions and Visible is true).
Questions rendered in the main form area (excludes footer choice question).
Whether to show the standard Submit button (true when no footer choice question).
Text for the submit button. Falls back to "Submit" if not specified.
Get the FormControl for a specific question by ID
Whether a given option value is the currently selected footer choice
Whether a given option value is the currently selected simple choice
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Handle footer choice button click — selects the option and emits the form data
Handle simple choice button click (single-question forms)
Handle full form submission
Track-by function for options
Whether the form is disabled (e.g. while saving). Disables all inputs and buttons.