primevue
primevue copied to clipboard
[v4 beta1: SelectButton] Pass Through missing both BUTTON and LABEL options
Describe the bug
In PrimeVue v3 the <SelectButton>
Pass Through options had four labels documented here for v3 (see PASS THROUGH tab)
- root
- button
- label
- hooks
In PrimeVue v4 this is limited to v4 docs (see PASS THROUGH tab):
- root
- hooks
I'm guessing (first time looking at the code) that the methode ptm()
should be replaced with getPTOptions()
for these lines of code:
Like it does in v3:
Reproducer
https://stackblitz.com/edit/ypxj2k?file=src%2FApp.vue
PrimeVue version
v4.0.0 beta 1
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Open StackBlitz example and remove the commented lines from code << REMOVE THIS COMMENT LINE TO REVEAL ERROR >>
(twice) to make the button
key active in the PT object.
This throws a console error right away because of the missing button option described above.
Expected behavior
No response