ExemptionReasonsController

Exemption Reasons Controller

Manages the dynamic list of exemption reasons for waiver types. Allows administrators to add/remove reasons that can be selected when attesting that a waiver is not needed for a gathering activity.

Constructor

new ExemptionReasonsController()

Methods

addReason()

Add a new reason input field

reasonBlurred()

Handle when an input loses focus Add a new empty field if the last input now has a value

reasonChanged()

Handle input changes to update hidden field

removeReason()

Remove a reason input field

updateHiddenInput()

Update the hidden input with JSON array of reasons