When a value is sent to a boolean input type as boolean or 0/1, the input is displayed as a toggle button.
<template>
<v-row>
<v-col lg="3" md="4" sm="6">
<va-boolean-input source="active" label="Active"></va-boolean-input>
</v-col>
</v-row>
</template>
Property | Type | Description |
---|---|---|
source | string |
The property of the resource to fetch the value to display. Supports dot display for slot used object. |
model | string |
By default source will be the last name sent to the API service for create/update. This support allows you to override this default behavior. |