You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some props like content-class or content-style still cannot be kebab-case and must be camelCase.
<TabView>
<!-- does not work -->
<TabPanelcontent-style="background: red"content-class="some-class"header="Header I">
<pclass="m-0">styling and class are ignored</p>
</TabPanel>
<!-- works -->
<TabPanelcontentStyle="background: red"contentClass="some-class"header="Header II">
<pclass="m-0">styling works</p>
</TabPanel>
</TabView>
Describe the bug
As Like this one
#1263
Some props like
content-class
orcontent-style
still cannot be kebab-case and must be camelCase.Reproducer
https://stackblitz.com/edit/scv6yh?file=src%2FApp.vue
PrimeVue version
3.49.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
See props on the first TabPanel and on the second TabPanel.
CamelCase Props work (2nd), kebab-case do not work (1st)
Expected behavior
Both should work as per Vue rules
The text was updated successfully, but these errors were encountered: