Lets you select values from a selection list. Supports references. If no options are available, by default it can retrieve localized lists containing resources from src/I18n/locales/en.json.
<template>
<v-row>
<v-col lg="3" md="4" sm="6">
<va-radio-group-input clearable label="Currencies" v-model="model.radios" reference="currencies">
</va-radio-group-input>
</v-col>
<v-col lg="3" md="4" sm="6">
<va-radio-group-input clearable inline label="Currencies" v-model="model.radios" reference="currencies">
</va-radio-group-input>
</v-col>
</v-row>
</template>
The SelectInput reference description for the radio group is totaly valid, but multiple selection is not supported.
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. |
reference | string |
Name of the resource to search for. |
inline | boolean |
Shows options horizontally. (Default: false). |