Skip to content

VForm API

组件页面

属性

名称类型默认值
disabled
Puts all children inputs into a disabled state.
fast-fail
Stop validation as soon as any rules fail.
model-value
The value representing the validity of the form. If the value is null then no validation has taken place yet, or the form has been reset. Otherwise the value will be a boolean that indicates if validation has passed or not.
readonly
Puts all children inputs into a readonly state.
validate-on
Changes the events in which validation occurs.

事件

名称类型
submit
Emitted when form is submitted.
update:modelValue
Event emitted when the form’s validity changes.

插槽

default
The default Vue slot.