Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataTable rowexpansioncell passthrough overriding classes instead of adding #172

Open
sergeydus opened this issue Mar 5, 2024 · 1 comment

Comments

@sergeydus
Copy link

when passing:
:pt="{ rowexpansioncell: 'bg-red-500', }" :ptOptions="{ mergeSections: true, mergeProps: true }"
to the dataTable, the rowexpansioncell classes are being overridden instead of added to:

before:
image
after:
image

https://stackblitz.com/edit/ka1dqv?file=src%2FApp.vue

@brandon-swipedon
Copy link

when passing: :pt="{ rowexpansioncell: 'bg-red-500', }" :ptOptions="{ mergeSections: true, mergeProps: true }" to the dataTable, the rowexpansioncell classes are being overridden instead of added to:

before: image after: image

https://stackblitz.com/edit/ka1dqv?file=src%2FApp.vue

The same issue we just discovered when trying to merge the numberinput globally using the usePassThrough composable. I suspect there is a problem when merging class arrays here
https://stackblitz.com/edit/nhbhmy?file=src%2Fmain.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants