Class: ContactForm

ContactForm()

The contactform that is displayed in the yellow pages inside of an overlay

Constructor

new ContactForm()

Source:

Methods

changePilotArea(value)

Change the selected pilot area (custom select field)

Parameters:
Name Type Description
value
Source:

closeDialog()

Close the modal dialog

Source:

handleClickOutside()

Close the dialog if the user clicks outside of the contactform modal dialog

Source:

submitForm()

Send the contactform data to the backend via the sendMessage action that is dispatched width the form state

Source:

submitForm()

Submit the form by calling the saveLocalContact action with the form state + token

Source:

updateField(event)

Update the field state on input

Parameters:
Name Type Description
event
Source:

updateField(event)

Update the field state on input

Parameters:
Name Type Description
event
Source:

ContactForm()

The form to create / edit contacts (local contacts on the landing page)

Constructor

new ContactForm()

Source:

Methods

changePilotArea(value)

Change the selected pilot area (custom select field)

Parameters:
Name Type Description
value
Source:

closeDialog()

Close the modal dialog

Source:

handleClickOutside()

Close the dialog if the user clicks outside of the contactform modal dialog

Source:

submitForm()

Send the contactform data to the backend via the sendMessage action that is dispatched width the form state

Source:

submitForm()

Submit the form by calling the saveLocalContact action with the form state + token

Source:

updateField(event)

Update the field state on input

Parameters:
Name Type Description
event
Source:

updateField(event)

Update the field state on input

Parameters:
Name Type Description
event
Source: