Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open ended range cut state not saved #568

Open
EdwardMoyse opened this issue Mar 27, 2023 · 0 comments
Open

Open ended range cut state not saved #568

EdwardMoyse opened this issue Mar 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@EdwardMoyse
Copy link
Collaborator

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 EdwardMoyse added the bug Something isn't working label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant