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
wooly opened this issue
Feb 23, 2024
· 4 comments
· Fixed by #7425
Assignees
Labels
BugIssues which are marked as BugconfirmedIssues that have been confirmed with a reduced test case and identify a bug.coreIssues stemming from our compiled or source JavaScript files.has PRIssues that has been fixed with a PR.
We have a use case where we render multiple pieces of text into a table cell inside separate html elements - imagine two span elements containing different pieces of text.
When searching, the results are filtered correctly but the search highlight isn't working.
I've attached an example whereby the search highlight is initially working (search for item and see everything get highlighted). However, when the breakTheThings variable is changed to true and run again, you'll see that the column now has an additional span containing the word 'Fish'. This breaks the search highlight when you search for 'item' as before, and nothing is highlighted.
wenzhixin
added
confirmed
Issues that have been confirmed with a reduced test case and identify a bug.
core
Issues stemming from our compiled or source JavaScript files.
labels
Mar 12, 2024
BugIssues which are marked as BugconfirmedIssues that have been confirmed with a reduced test case and identify a bug.coreIssues stemming from our compiled or source JavaScript files.has PRIssues that has been fixed with a PR.
Bootstraptable version(s) affected
1.22.2
Description
We have a use case where we render multiple pieces of text into a table cell inside separate html elements - imagine two span elements containing different pieces of text.
When searching, the results are filtered correctly but the search highlight isn't working.
I've attached an example whereby the search highlight is initially working (search for item and see everything get highlighted). However, when the
breakTheThings
variable is changed to true and run again, you'll see that the column now has an additional span containing the word 'Fish'. This breaks the search highlight when you search for 'item' as before, and nothing is highlighted.Any assistance would be much appreciated!
Cheers.
Example(s)
https://live.bootstrap-table.com/code/wooly/17184
Possible Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: