commit
46afcf8c8d
|
@ -20,8 +20,8 @@
|
||||||
showButtons
|
showButtons
|
||||||
buttonLayout="horizontal"
|
buttonLayout="horizontal"
|
||||||
:step="0.25"
|
:step="0.25"
|
||||||
decrementButtonclass="p-button-danger"
|
decrementButtonClass="p-button-danger"
|
||||||
incrementButtonclass="p-button-success"
|
incrementButtonClass="p-button-success"
|
||||||
incrementButtonIcon="pi pi-plus"
|
incrementButtonIcon="pi pi-plus"
|
||||||
decrementButtonIcon="pi pi-minus"
|
decrementButtonIcon="pi pi-minus"
|
||||||
mode="currency"
|
mode="currency"
|
||||||
|
@ -44,7 +44,7 @@ export default {
|
||||||
<InputNumber v-model="value1" inputId="stacked-buttons" showButtons mode="currency" currency="USD" />
|
<InputNumber v-model="value1" inputId="stacked-buttons" showButtons mode="currency" currency="USD" />
|
||||||
<InputNumber v-model="value2" inputId="minmax-buttons" mode="decimal" showButtons :min="0" :max="100" />
|
<InputNumber v-model="value2" inputId="minmax-buttons" mode="decimal" showButtons :min="0" :max="100" />
|
||||||
<InputNumber v-model="value3" inputId="horizontal-buttons" showButtons buttonLayout="horizontal" :step="0.25"
|
<InputNumber v-model="value3" inputId="horizontal-buttons" showButtons buttonLayout="horizontal" :step="0.25"
|
||||||
decrementButtonclass="p-button-danger" incrementButtonclass="p-button-success" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus"
|
decrementButtonClass="p-button-danger" incrementButtonClass="p-button-success" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus"
|
||||||
mode="currency" currency="EUR" />`,
|
mode="currency" currency="EUR" />`,
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
|
@ -61,7 +61,7 @@ export default {
|
||||||
<div class="flex-auto">
|
<div class="flex-auto">
|
||||||
<label for="horizontal-buttons" class="font-bold block mb-2"> Horizontal with Step </label>
|
<label for="horizontal-buttons" class="font-bold block mb-2"> Horizontal with Step </label>
|
||||||
<InputNumber v-model="value3" inputId="horizontal-buttons" showButtons buttonLayout="horizontal" :step="0.25"
|
<InputNumber v-model="value3" inputId="horizontal-buttons" showButtons buttonLayout="horizontal" :step="0.25"
|
||||||
decrementButtonclass="p-button-danger" incrementButtonclass="p-button-success" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus"
|
decrementButtonClass="p-button-danger" incrementButtonClass="p-button-success" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus"
|
||||||
mode="currency" currency="EUR" />
|
mode="currency" currency="EUR" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -93,7 +93,7 @@ export default {
|
||||||
<div class="flex-auto">
|
<div class="flex-auto">
|
||||||
<label for="horizontal-buttons" class="font-bold block mb-2"> Horizontal with Step </label>
|
<label for="horizontal-buttons" class="font-bold block mb-2"> Horizontal with Step </label>
|
||||||
<InputNumber v-model="value3" inputId="horizontal-buttons" showButtons buttonLayout="horizontal" :step="0.25"
|
<InputNumber v-model="value3" inputId="horizontal-buttons" showButtons buttonLayout="horizontal" :step="0.25"
|
||||||
decrementButtonclass="p-button-danger" incrementButtonclass="p-button-success" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus"
|
decrementButtonClass="p-button-danger" incrementButtonClass="p-button-success" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus"
|
||||||
mode="currency" currency="EUR" />
|
mode="currency" currency="EUR" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue