Form

Container for collecting data to submit.

Basic usage

Validation

We use vuelidateopen in new window for data validation.

Form Item Attributes

AttributeDescriptionTypeDefault
labelLabel text.string
requiredWhether the field is required or not.booleanfalse
optionalWhether the field is optional.booleanfalse
help-textAdditional helper text.string
errorField error message, set its value and the field will validate error and show this message immediately.string
sizeControl the size of components in this form-item.large / default / smalldefault

Form Item Slots

NameDescriptionSlot Scope
Content of Form Item.
labelCustom content to display on label.{ label }
Last Updated:
Contributors: Tam Mai