-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Column filter seperated by space with similar name #6985
Comments
The file bootstrap-table-filter-control.js don't have 4000+ lines, it only have 566 lines. Also i'dont think we support fields with spaces and i also think we should not support it. |
@DustinUtecht @wenzhixin Sure you have a point there, but not escaping those column fields for the css classes is also a bit strange in my opinion. We connect the table to a mongoDB database, and the data keys in there can contain spaces which should not be a problem. If we just escape the values before assigning them as a CSS class the whole problem is solved. Also regarding the line numbers, you looked in the src folder, the file I mentioned is from the dist folder. |
We never check/develop in the dist folder. |
@wenzhixin any update regarding this issue? |
There is no update yet. |
Bootstraptable version(s) affected
1.22.1
Description
I have auto generated columns where the data-field contains a space. When you search on a record it will result in a situation where after the search the focus will be on a different column.
It has something to do with the fact that the name of the column is placed as a css class and it's similar to the neighbour column because of the space in the field-name.
Example(s)
No response
Possible Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: