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
Passing the class attribute of thead does not work when using the bootstrap 4 template.
This is caused by the inclusion of the default class="thead-default" in the template.
Any other attribute aside from class is being passed correctly.
Remove class="thead-default" from thead.
This was preventing the class from being updated as part of the attrs as demonstrated in
jieter/django-tables2#671
django 2.2.2
django-tables2 2.0.6
Firefox 67.0.1 64-bit
Chrome 74.0.3729.169 64-bit
Passing the class attribute of thead does not work when using the bootstrap 4 template.
This is caused by the inclusion of the default
class="thead-default"
in the template.Any other attribute aside from class is being passed correctly.
bootstrap.html
bootstrap4.html
Setting attrs in table meta:
From Chrome Inspector showing class has stayed unchanged
I have seen no formatting difference by removing the hard coded class in the template.
tbody and tfoot do not have a hard coded class.
The text was updated successfully, but these errors were encountered: