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

Playground code output does not show options if the only option has the value of boolean #24

Closed
jesperorb opened this issue Oct 8, 2022 · 0 comments · Fixed by #32
Closed
Labels
bug Something isn't working

Comments

@jesperorb
Copy link
Owner

Describe the bug

Playground code output does not show options if the only option has the value of boolean and that value is false.

The option only show up if you have selected another option in combination with a value that is a boolean. Giving the impression that the option has not been applied but it has in fact been applied but the output does not reflect it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Playground Page
  2. Select a Method with a boolean toggle value such as "Collator"
  3. Set a boolean value to false while all other options are undefined.
  4. Look at code output

Expected behavior
The output should display options for the value like following:

"key": false

Actual behavior

The output does not change in the code output.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Firefox
@jesperorb jesperorb added the bug Something isn't working label Oct 8, 2022
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

Successfully merging a pull request may close this issue.

1 participant