-
Notifications
You must be signed in to change notification settings - Fork 51
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
DropDown node payload null instead of 0 #1585
Comments
Additionally, if you change the selection and change it back to 0, then change to another page, go back to the page with the drop down. Now the label is within the dropdown list. |
Hi @A380Coding, Had a quick view at the code, and indeed I would expect the dropdown would behave like you describe. Because that But instead it seems to work fine for some reason: If you see what I am doing different from you, please let me know. |
It is deactivated yes. Next time I will export the sample. It seemed to be easy to replicate but I understand it wasn't |
@A380Coding |
Current Behavior
Using Dropdown Node with one Option set to 0 there is an issue. When selecting this Option in dashboard, the payload is null instead of 0
This only happens to the value 0. If the value is changed to some other value, the returned payload is correct.
Expected Behavior
When selecting Option with value 0 the payload should be 0 instead of null
Steps To Reproduce
Create Dropdown with 2 options. First option set to value 0 second option set to value 1.
Connect a debug node to the output of dopdown to show payload.
Select the options back and forth and check the debug output. The debut output showas paylod null or payload 1. But it should be payload 0 or payload 1.
Environment
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: