Methods

Form methods can be called by applying a v-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.

results matching ""

    No results matching ""