TreeTable: Custom node toggle icon does not apply #7058
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When using the TreeTable component and trying to customize the toggle icon, by following docs I'd have to use the column slot (from the column with "expander" flag I suppose, not clear from reading the docs). However, this does not work and the default icon is still displayed. See reproducer.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
Maybe I am just misunderstanding the docs, but if so, maybe you can make it clearer.
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-zvekqtu5?file=src%2FApp.vue
Vue version
3.4.31
PrimeVue version
4.2.5
Node version
18.20.3
Browser(s)
Chrome
Expected behavior
I expect the default toggle icon to get replaced by the one specified in the #nodetoggleicon template (e.g. apple icon in reproducer).
The text was updated successfully, but these errors were encountered: