Methods

Form methods can be called by applying a ref to the form component and referencing it on the $refs object.

  • getField(name) Get the field by it name prop. If the field does not exist null will be returned.
  • childrenOf(ref) Get all fields which are children of a given ref. This can be used to perform actions (such as reset) on a fieldset. To get all the fields simply pass the form ref.
  • submit() Submit the form. Returns a boolean indicating if the form was sent (i.e no client errors or form isn't pristine if sending only dirty fields)
  • getStatusBar() get the status bar component

results matching ""

    No results matching ""