Skip to content

Actions

Juan Stoppa edited this page Apr 21, 2019 · 7 revisions

Overview

Actions are a set of form events that can be triggered from any component that implements it, the most common scenario is a button triggering a save of the form.

Type of actions

  • save: triggers a form save
  • validate: emits an event to force the validation of the form
  • validateAndSave: triggers the validation of the form followed by a save if the validation doesn't return any error
  • custom: this event triggers custom messages across components. NOTE: this type of action is not yet released

Example - Configuring an action in FormQL Editor

In the gif below, the save action is being configured in a button. FormQL Editor - Actions - Save