Class: AddEventForm

AddEventForm()

The form to add events to the knowledge platform

Constructor

new AddEventForm()

Source:

Methods

changeCountry(value)

Change the country in which the event takes place

Parameters:
Name Type Description
value
Source:

handleChange(date, whichdate)

Date change

Parameters:
Name Type Description
date *
whichdate *
Source:

removeContent()

Remove an event from the knowledge platform

Source:

submitForm()

Submit the form by dispatching the according action with the form state

Source:

toggleDelete()

Toggle the delete buttons

Source:

toggleMultidate()

Toggle the second date input in case the event has multiple days

Source:

updateField(event)

Update the field state

Parameters:
Name Type Description
event
Source: