Welcome and thank you for your interest in contributing to our project!. You must use this template to submit a Pull Request or it will not be accepted.
Motivation
[x] Bug fix
[ ] Enhancement
[ ] New feature
[ ] Breaking change
Description
This pull request fixes the issue in which an empty <th> appears when there is no data present in a table. In the components/table/th-empty.blade.php file, the container element was a <th> tag with a <tr> inside it. A <th> tag is used for table cells rather than table rows. Therefore, the container element should be the <tr> tag, and instead of a <td> tag for the table cell, we can use <th>.
⚡ PowerGrid - Pull Request
Welcome and thank you for your interest in contributing to our project!. You must use this template to submit a Pull Request or it will not be accepted.
Motivation
Description
This pull request fixes the issue in which an empty
<th>
appears when there is no data present in a table. In thecomponents/table/th-empty.blade.php
file, the container element was a<th>
tag with a<tr>
inside it. A<th>
tag is used for table cells rather than table rows. Therefore, the container element should be the<tr>
tag, and instead of a<td>
tag for the table cell, we can use<th>
.Related Issue(s): #1428 .
Documentation
This PR requires Documentation update?