StateRestore and BS5 - Cannot switch between states (same in the example page)
StateRestore and BS5 - Cannot switch between states (same in the example page)
![glimpsed_chaos](https://secure.gravatar.com/avatar/c74f024f08cc3aa36c18bb85b65ed3c0/?default=https%3A%2F%2Fvanillicon.com%2Fc74f024f08cc3aa36c18bb85b65ed3c0_200.png&rating=g&size=120)
Description of problem:
When you create states on the basic example, you can switch between the states. The dropdown only shows the current state with a checkmark besides it.
In the Bootstrap 5 example, all of the states have checkmarks besides them and you cannot switch between the states.
I have the same issue in my application but wanted to recheck my work against the example.
https://datatables.net/extensions/staterestore/examples/styling/bootstrap5.html
Answers
Further testing...
It looks like this works fine under:
Firefox
Chrome - Version 126.0.6478.127 (Official Build) (64-bit)
Chrome - Version 126.0.6478.122 (on my mobile)
But does not work under:
Edge - Version 126.0.2592.81 (Official build) (64-bit)
Strange behavior.
Testing BS4, it works with Edge.
It may be that the documentation needs to be clearer on this or I have not found it specifically.
It appears that if you do NOT change anything with the state and then create a new state it will keep the old and new states checked together since they are comprised of the same state.
Yes, logically you would change the order, filter, etc. then click Create State.
However, if a user does not, then they will just continue to see new states with checks that are essentially the same.
This can be closed as I understand the problem now.