From a366e63a8cfb2239cf45dba1c030a382866719a7 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 4 Dec 2023 11:42:33 +0300 Subject: [PATCH] Fixed #4921 - Binding and ordering pt options defect --- components/lib/inputnumber/InputNumber.vue | 15 ++++-- components/lib/orderlist/OrderList.vue | 8 +-- components/lib/password/Password.vue | 3 +- components/lib/picklist/PickList.vue | 60 +++++++++++++++++----- components/lib/splitbutton/SplitButton.vue | 4 +- 5 files changed, 66 insertions(+), 24 deletions(-) diff --git a/components/lib/inputnumber/InputNumber.vue b/components/lib/inputnumber/InputNumber.vue index 0b3682953..fddd1628e 100755 --- a/components/lib/inputnumber/InputNumber.vue +++ b/components/lib/inputnumber/InputNumber.vue @@ -22,7 +22,8 @@ @click="onInputClick" @focus="onInputFocus" @blur="onInputBlur" - v-bind="{ ...inputProps, ...ptm('input') }" + v-bind="inputProps" + :pt="ptm('input')" :unstyled="unstyled" data-pc-section="input" /> @@ -33,7 +34,8 @@ :disabled="disabled" :tabindex="-1" aria-hidden="true" - v-bind="{ ...incrementButtonProps, ...ptm('incrementButton') }" + v-bind="incrementButtonProps" + :pt="ptm('incrementButton')" :unstyled="unstyled" data-pc-section="incrementbutton" > @@ -49,7 +51,8 @@ :disabled="disabled" :tabindex="-1" aria-hidden="true" - v-bind="{ ...decrementButtonProps, ...ptm('decrementButton') }" + v-bind="decrementButtonProps" + :pt="ptm('decrementButton')" :unstyled="unstyled" data-pc-section="decrementbutton" > @@ -67,7 +70,8 @@ :disabled="disabled" :tabindex="-1" aria-hidden="true" - v-bind="{ ...incrementButtonProps, ...ptm('incrementButton') }" + v-bind="incrementButtonProps" + :pt="ptm('incrementButton')" :unstyled="unstyled" data-pc-section="incrementbutton" > @@ -84,7 +88,8 @@ :disabled="disabled" :tabindex="-1" aria-hidden="true" - v-bind="{ ...decrementButtonProps, ...ptm('decrementButton') }" + v-bind="decrementButtonProps" + :pt="ptm('decrementButton')" :unstyled="unstyled" data-pc-section="decrementbutton" > diff --git a/components/lib/orderlist/OrderList.vue b/components/lib/orderlist/OrderList.vue index 8f6f0bd9f..f3526fe3d 100755 --- a/components/lib/orderlist/OrderList.vue +++ b/components/lib/orderlist/OrderList.vue @@ -2,28 +2,28 @@
- + - + - + - +