Boolean field displays the value as a definable true/false symbol.
<template>
<va-boolean-field source="active" icon-false="mdi-cancel"></va-boolean-field>
</template>
Property | Type | Description |
---|---|---|
source | string |
The property of the resource to fetch the value to display. Supports dot display for slot used object. |
item | null |
Overrides the default element added by VaShow . |
labelTrue | string |
true text for type. |
labelFalse | string |
false text for type. |
iconTrue | string |
True value icon. Must be a valid mdi icon. |
iconFalse | string |
False value symbol. Must be a valid mdi icon. |