InputRange
Input date range.
Implements mixins RequiredInputMixin and BasicInputMixin.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" placeholder="Select range" />
</div>
</div>
</Form>
</Card>Props
min(default0) &max(default100): minimum and maximum selectable numbers.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" :min="-50" :max="50" />
</div>
</div>
</Form>
</Card>interval(default1): minimum selectable unit.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" :interval="5" />
</div>
</div>
</Form>
</Card>multiple(defaulttrue): wether to select a range or a single unit.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" :interval="false" />
</div>
</div>
</Form>
</Card>minRange(defaultundefined) &maxRange(defaultundefined): minimum and maximum selectable numbers difference.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" :minRange="5" :maxRange="25" />
</div>
</div>
</Form>
</Card>suffix(defaultnull): number suffix.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" suffix="€" />
</div>
</div>
</Form>
</Card>placeholder(defaultnull): text when no range or number is selected.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" allowClear placeholder="Select range" />
</div>
</div>
</Form>
</Card>allowClear(defaultfalse): wether to allow clear number when selected.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" allowClear placeholder="Select range" />
</div>
</div>
</Form>
</Card>allowZero(defaultfalse): wether to allow zero as a valid selected number.
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" allowZero />
</div>
</div>
</Form>
</Card>tooltip(defaultalways): when to show the value tooltip (always,active,focus,hover,none).
html
<Card>
<Form>
<div class="row">
<div class="col-12 mb-xs-4">
<InputRange name="range" label="Select range" tooltip="hover" />
</div>
</div>
</Form>
</Card>Emits
changeField. Custom change event.
Vuersatile Components