-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
[Bug]: Missing table header class #1981
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This should be fixed in 3.5.0, please let me know if not the case! |
Can you share what you're doing to create that Column please? Do you have any custom setThAttributes/setTdAttributes/setTrAttributes in your configure? |
Just to validate - have you previously published the views? Will try to replicate what you've got, to see if I can reproduce. |
No i don't. |
Just so I can narrow it down a bit
I do need to get it all back in alignment, but this should help me focus where the issue is: |
Thanks for the detail, I'll try to get a fix out this weekend. I imagine it'll just need a little bit more specificity in terms of what to return (standard TH vs Sortable TH) |
Hmmm
IS working as expected. It's applying the "class" attribute you selected (bg-green-500) to the button element for "role". |
You'd want the "setLabelAttributes" for a Column to set the attributes for the "span", from what I recall. It's something that does need cleaning up admittedly! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What happened?
The table header when the column is not sortable, the class is not applied to the label correctly:
How to reproduce the bug
No response
Package Version
3.4.21
PHP Version
None
Laravel Version
No response
Alpine Version
No response
Theme
Tailwind 3.x
Notes
No response
Error Message
No response
The text was updated successfully, but these errors were encountered: