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_chaosglimpsed_chaos Posts: 140Questions: 30Answers: 4
edited July 12 in Free community support

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

  • glimpsed_chaosglimpsed_chaos Posts: 140Questions: 30Answers: 4
    edited July 12

    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.

  • glimpsed_chaosglimpsed_chaos Posts: 140Questions: 30Answers: 4

  • glimpsed_chaosglimpsed_chaos Posts: 140Questions: 30Answers: 4

    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.

Sign In or Register to comment.