Optimized for number editing. Supports min, max and step features.
<template>
<v-row>
<v-col lg="3" md="4" sm="6">
<va-number-input source="level" label="Level" :step="1" :min="0" :max="99"></va-number-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. |
v-model | string |
Text to be edited. |
variant | string |
Applies different styles to the component. (outlined, plain, underlined, solo, filled, solo-filled, solo-inverted). |
step | number |
Interval step. |
min | number |
Minimum accepted value. |
max | number |
Maximum accepted value. |