Fix prop typo for button

changed decrementButtonclass and incrementButtonclass to decrementButtonClass/incrementButtonClass
pull/3857/head
mtirimie1 2023-04-12 11:51:55 -04:00 committed by GitHub
parent 70a3414416
commit 9f8a2b4b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -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>