ExemptionReasonsController

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()

Source:

Methods

addReason()

Description:
  • Add a new reason input field

Source:

reasonBlurred()

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

Source:

reasonChanged()

Description:
  • Handle input changes to update hidden field

Source:

removeReason()

Description:
  • Remove a reason input field

Source:

updateHiddenInput()

Description:
  • Update the hidden input with JSON array of reasons

Source: