Numeric     

Basic Usage

<q-numeric
v-model="number"
:min="1"
:max="17"
></q-numeric>
<!-- Disabled state -->
<q-numeric
disable
v-model="number"
:min="1"
:max="17"
></q-numeric>

Error State

Add has-error CSS class:

<q-numeric
class="has-error"
v-model="number"
:min="1"
:max="17"
></q-numeric>

Vue Properties

Vue PropertyDefault ValueDescription
step1Value of increment / decrement
minnoneMinimum value of the model
maxnoneMaximum value of the model
readonlyfalseMake field read-only.
disablefalseDisable input from user.

Vue Events

Vue EventDescription
@inputTriggered on model value change with the new value.

Inside of a List Usage

<div class="list">
<div class="item two-lines">
<i class="item-primary">edit</i>
<div class="item-content">
<span class="item-label">Number: </span>
<q-numeric v-model="number"></q-numeric>
</div>
</div>
</div>