uuid
| Category | String Format |
| Related | regex |
| Bundle size | 203 B |
Validates that the value is a valid UUID.
Usage
vue
<VfText name="reference" label="Reference ID" rules="uuid" />vue
<template>
<VfText name="reference" label="Reference ID" rules="uuid" />
</template>ts
{
reference: {
type: 'text',
label: 'Reference ID',
rules: 'uuid',
},
}Error Messages
| Key | Default Message |
|---|---|
rule_uuid_error | The {attribute} must be a valid UUID. |