SearchBuilder improperly displaying indented criteria on loaded state?

SearchBuilder improperly displaying indented criteria on loaded state?

DakotaTDakotaT Posts: 1Questions: 1Answers: 0

Links

Test case: https://jsfiddle.net/a1vczxft/1/
(Basically identical to this example, except the one above uses the modal rather than the embedded version)
https://datatables.net/extensions/staterestore/examples/integration/searchBuilder.html

Example

Steps to reproduce:
1. Open searchBuilder, add 2 criteria, and indent both of them.
2. Create a state once applied, then reload that state (doesn't even need a table reload)

When loading you can see the indented buttons on the left, it seems the CSS just isn't set correctly:

This doesn't seem to be a savedState issue in the sense of the data not storing correctly, because the localStorage holds the data as expected.

Also if you add a criteria at the bottom (while within the broken state) and remove it, it rebuilds it correctly.

Sign In or Register to comment.