Fields
Fields can be used in a form as its descendants, or independently (see the change event).
All fields accept the following properties:
labelstringrequirednamestringrequiredvaluemixedoptionalrequiredbooleanoptionaldisabledbooleanoptionalhide-labelbooleanoptionalrulesobjectoptionalSee validation option b
Fields share a fieldType property which can be programmatically used to determine the type of the component.
Fields have before and after slots, which allow you to add custom HTML.
Methods
Methods can be called by applying a ref to the relevant component and fetching it from the $refs object.
setValue(value)getValue()reset()reset the field to an empty value, and set dirty tofalsefocus()
Properties
dirtypristineerrorsAn array of errors