Channel value issue with zero value #556
Labels
brightlayer-ui
Used to identify Brightlayer UI platform issues for easy filtering
bug
Something not working as expected
high-priority
Issues that should be fixed sooner than later
user-reported
This was reported by a user outside the maintainers team.
Milestone
Describe the bug
If you pass 0 as a value for the channel value component, it won't display the value.
What is the expected behavior?
The 0 value is visible.
What are the steps to reproduce?
Pass 0 as value to the component (see code snippet below).
Screenshots / Screen recording
Code snippet / Link to minimum reproduction example
Your environment information
Suggested fix
My assumption is that there is a if condition that check the value but 0 will return false therefore hiding the value.
Anything else to add?
The text was updated successfully, but these errors were encountered: