lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Bug]: Numeric Input Doesn't honor NULL values

Open ScottKemp opened this issue 5 months ago • 3 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

I created a numeric Input, set it to "Allow Null", set the default value to {{null}} but the control still shows "0"

Expected Behavior

I expect the control to be empty with I give it a value of "null"

Steps to reproduce

See attached Application

Environment

Self Hosted 2.7.3

Additional Information

Here is the app that shows the behavior

BUG_NullNumberValues.json

ScottKemp avatar Aug 07 '25 21:08 ScottKemp

This has been fixed, and PR is created

How to use: set default value ->null instead of {{null}}

iamfaran avatar Oct 13 '25 14:10 iamfaran

@iamfaran , this is still not working.

Image

adnanqaops avatar Oct 16 '25 08:10 adnanqaops

@adnanqaops Thank you for reporting it I have just looked into it, it works but we have to use numberInput1.setDefaultValue("null") null has to be String

iamfaran avatar Oct 16 '25 18:10 iamfaran