OrderList: Missing moveUpButtonProps #4581
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
According to the documentation there is a a
moveTopButtonProps
on theOrderList
component: https://primevue.org/orderlist/#api.orderlist.props.moveTopButtonPropsOn attempting to use this component however it does not work.
On looking at the source it appears that this was present before but was refactored out accidentally afterwards (with the other three buttons
moveUpButtonProps
,moveDownButtonProps
, andmoveBottomButtonProps
remaining as expected): https://github.com/primefaces/primevue/blob/master/components/lib/orderlist/OrderList.vue#L5-L32In the reproduction you can see how 3 out of the 4 buttons are disabled with the props unable to be applied to the Move Top button
Reproducer
https://codesandbox.io/s/nifty-forest-nyxwyw
PrimeVue version
3.32.1
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Try to use
:move-top-button-props="{ disabled: false }"
and see that button is still disabled / property is not availableExpected behavior
:move-top-button-props="{ disabled: false }"
toOrderList
The text was updated successfully, but these errors were encountered: