Form component
The form component, vf-form
, takes the following props
action
required
string
Server endpoint for handling the formmethod
required
string
Request method:GET
,POST
,PUT
orDELETE
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. Requiresvue-resource
(>=0.9.0)client
optional
boolean
Don't send the form to the server. The submitted form is fetched using thevue-form.sent
event. when using this optionaction
andmethod
are not requiredname
optional
string
Form identifier. This is useful when using more than one form, and will be reflected in "namespaced" events