filled
Validates that the value is not empty when the element is present.
Usage
vue
<VfText name="nickname" label="Nickname" rules="filled" />vue
<template>
<VfText name="nickname" label="Nickname" rules="filled" />
</template>ts
{
nickname: {
type: 'text',
label: 'Nickname',
rules: 'filled',
},
}Error Messages
| Key | Default Message |
|---|---|
rule_filled_error | The {attribute} field must have a value. |