phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

Open ended range cut state not saved

Open EdwardMoyse opened this issue 2 years ago • 0 comments

This is very strange. I have tested this multiple times and it seems like that state of the introduced in #537 are not saved correctly. image

If you look at the above image you will see that the max cut is disabled, but the slider is set to 7439. If I check the 'save state' json, I see that highValue is correct, but enableMax is always true.

                      {
                        "type": "rangeSlider",
                        "label": "Energy",
                        "min": 0,
                        "max": 10000,
                        "step": 1,
                        "value": 0,
                        "highValue": 7439,
                        "enableMin": true,
                        "enableMax": true
                      }

EdwardMoyse avatar Mar 27 '23 16:03 EdwardMoyse