diff --git a/src/views/inputnumber/InputNumberDemo.vue b/src/views/inputnumber/InputNumberDemo.vue index fc4b83a78..56a8fbcfb 100755 --- a/src/views/inputnumber/InputNumberDemo.vue +++ b/src/views/inputnumber/InputNumberDemo.vue @@ -96,7 +96,7 @@
-
@@ -107,7 +107,7 @@
-
diff --git a/src/views/inputnumber/InputNumberDoc.vue b/src/views/inputnumber/InputNumberDoc.vue index eabf86245..58092a7ab 100755 --- a/src/views/inputnumber/InputNumberDoc.vue +++ b/src/views/inputnumber/InputNumberDoc.vue @@ -82,11 +82,11 @@ Stacked <InputNumber v-model="value1" showButtons mode="currency" currency="USD" /> Horizontal -<InputNumber v-model="value2" showButtons buttonLayout="horizontal" spinnerMode="horizontal" +<InputNumber v-model="value2" showButtons buttonLayout="horizontal" decrementButtonClass="p-button-danger" incrementButtonClass="p-button-success" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus" mode="currency" currency="EUR" /> Vertical -<InputNumber v-model="value3" mode="decimal" showButtons buttonLayout="vertical" spinnerMode="vertical" +<InputNumber v-model="value3" mode="decimal" showButtons buttonLayout="vertical" decrementButtonClass="p-button-secondary" incrementButtonClass="p-button-secondary" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus" /> @@ -405,7 +405,7 @@ Vertical </div> <div class="p-field p-col-12 p-md-3"> <label for="horizontal">Horizontal with Step</label> - <InputNumber id="horizontal" v-model="value18" showButtons buttonLayout="horizontal" spinnerMode="horizontal" :step="0.25" + <InputNumber id="horizontal" v-model="value18" showButtons buttonLayout="horizontal" :step="0.25" decrementButtonClass="p-button-danger" incrementButtonClass="p-button-success" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus" mode="currency" currency="EUR" /> </div> <div class="p-field p-col-12 p-md-3"> @@ -416,7 +416,7 @@ Vertical <div class="p-field p-col-12 p-md-3"> <label for="vertical" style="display: block">Vertical</label> - <InputNumber id="vertical" v-model="value19" mode="decimal" showButtons buttonLayout="vertical" spinnerMode="vertical" style="width:4rem" + <InputNumber id="vertical" v-model="value19" mode="decimal" showButtons buttonLayout="vertical" style="width:4rem" decrementButtonClass="p-button-secondary" incrementButtonClass="p-button-secondary" incrementButtonIcon="pi pi-plus" decrementButtonIcon="pi pi-minus" /> </div>