Form component

The form component, vf-form, takes the following props

  • action required string Server endpoint for handling the form
  • method required string Request method: GET, POST, PUT or DELETE
  • validation optional object Validation rules and messages. See the validation chapter.
  • triggers optional object See Triggers.
  • options optional object Form level options. See the options chapter.
  • ajax optional boolean Send the form using an AJAX request. Requires vue-resource (>=0.9.0)
  • client optional boolean Don't send the form to the server. The submitted form is fetched using the vue-form.sent event. when using this option action and method are not required
  • name optional string Form identifier. This is useful when using more than one form, and will be reflected in "namespaced" events

results matching ""

    No results matching ""