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
When I enter some text in the search input the value of the attribute "searchText" from the bootstrap-table optons object is populated as expected. This "searchText" attribute is the one sent to the server so I need it to be the same one that is displayed to the user.
I have a table with data-show-search-clear-button="true" and I have noticed that when I use the clear search button the value of "searchText" does not change. I can't even set it to empty myself because there isn't any event such as "onClearSearch".
Example(s)
In this example you can see how after using the clear search button the "searchText" value displayed in the alert is the old one, when it should be the "empty" value. Even after changing the selected page the "searchText" value remains with the wrong value.
Bootstraptable version(s) affected
1.22.4
Description
When I enter some text in the search input the value of the attribute "searchText" from the bootstrap-table optons object is populated as expected. This "searchText" attribute is the one sent to the server so I need it to be the same one that is displayed to the user.
I have a table with data-show-search-clear-button="true" and I have noticed that when I use the clear search button the value of "searchText" does not change. I can't even set it to empty myself because there isn't any event such as "onClearSearch".
Example(s)
In this example you can see how after using the clear search button the "searchText" value displayed in the alert is the old one, when it should be the "empty" value. Even after changing the selected page the "searchText" value remains with the wrong value.
https://live.bootstrap-table.com/code/merinosky/17360
Possible Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: