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
Table filter control with cell content having links <a> is no longer working #5588
Comments
Please provide an Online Example to show your problem, thanks! |
@djhvscf @wenzhixin Sure : https://live.bootstrap-table.com/code/sdespont/6739 Open the filter selection to see the problem |
@sdespont got it. I'm working on filter control rewrite |
Experienced this issue today. Worked around issue with filterData and passing a list of options. I did do enough investigating to find that it was related to " and ' in the href attribute of the anchor tag. |
Fixed in #5583 |
@djhvscf any chance to have a merge in next weeks with a new bootstrap-table release? |
This is still in progress. |
@djhvscf any news/plans about when the fix will be released? |
I think you could use this option: https://bootstrap-table.com/docs/extensions/filter-control/#filterdatacollector |
@sdespont As you can see in the latest post (#5583 (comment)) @djhvscf will create a few examples and tests and then we are (hopefully) ready to merge. |
@UtechtDustin Oh right, thanks for the answer |
I'm working on improving the rendering process |
Example with the fix: https://live.bootstrap-table.com/code/djhvscf/9666 |
@djhvscf |
But it is the raw text |
@djhvscf In fact, I also have full tag with https://live.bootstrap-table.com/code/djhvscf/9666 and Chrome : Maybe it is not your latest version? |
I think the online example may have cache problems.. @wenzhixin |
@djhvscf, it had to because it is working well now Thanks for the fix! |
Works well for me too! |
When will this fix be available to download ? |
@i-m-d we're working on the last issue that that PR is going to cover.. After that we can release a new version. |
@djhvscf This problem appears again since 1.21.0 (OK in 1.20.2). Do you have any idea why ? The filter is not working if the link is containing a html link. Here is a sample to reproduce the problem : https://live.bootstrap-table.com/code/sdespont/13443 |
Bootstraptable version(s) affected:
1.8.2
Description
bootstrap-table-filter-control using data-filter-control="select" with cell content having links is no longer working
Example
https://jsfiddle.net/8aw4ox96/
Possible (optional)
Additional context
The text was updated successfully, but these errors were encountered: