Resolves: https://github.com/wenzhixin/bootstrap-table/issues/6125 - In scenarios where a `select` filter control is used along with server search & pagination, selected values were being cleared on performing search - This was caused by `cacheValues` failing to cache the the select value, and subsequently the value could not be restored in `setValues` - This was caused due to the logic for `getElementClass` missing a case for filtering out `form-select` - The `select` element has the following classes ```html <select class="form-select bootstrap-table-filter-control-price"> <!-- ... --> </select> ``` Test Plan: - Verify this fix against https://live.bootstrap-table.com/code/coshlo/11382 - Select an item from the drop down - Verify it isn't cleared when the search / filtering completes
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||