Skip to content

Scope attribute stripped from th elements when sorting is active #7780

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

Open
euro opened this issue Mar 25, 2025 · 2 comments
Open

Scope attribute stripped from th elements when sorting is active #7780

euro opened this issue Mar 25, 2025 · 2 comments
Assignees
Labels
Bug Issues which are marked as Bug core Issues stemming from our compiled or source JavaScript files.

Comments

@euro
Copy link

euro commented Mar 25, 2025

Bootstraptable version(s) affected

1.24.1

Description

When sort is available any scope attributes are "stripped" from the output.

Example(s)

https://live.bootstrap-table.com/code/euro/18756

Possible Solutions

No response

Additional Context

No response

@euro euro added the Bug Issues which are marked as Bug label Mar 25, 2025
@djhvscf
Copy link
Collaborator

djhvscf commented Mar 25, 2025

@euro the expected output is something like:

<thead>
  <tr>
     <th data-field="0" scope="col">
         <div class="th-inner ">Number</div>
          <div class="fht-cell"></div>
      </th>
//....more th elements
   </tr>
</thead>

Right?

@djhvscf djhvscf added the awaiting reply Issues that are awaiting reply, will be closed if there is no any response in 7 days. label Mar 25, 2025
@euro
Copy link
Author

euro commented Mar 25, 2025

Yes. Scope shouldn't be stripped away. Thanks

@djhvscf djhvscf added core Issues stemming from our compiled or source JavaScript files. and removed awaiting reply Issues that are awaiting reply, will be closed if there is no any response in 7 days. labels Mar 25, 2025
@djhvscf djhvscf self-assigned this Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues which are marked as Bug core Issues stemming from our compiled or source JavaScript files.
Projects
None yet
Development

No branches or pull requests

2 participants