Form input type number, value 0 not visible

Hi,

is this intention or a bug that 0 value is not displayed in form inputType=“number”?
https://snippet.dhtmlx.com/gk62wm1w

Looks like a number format not showing zeroes. Or trailing zeroes.
It displays 0.001 correctly. 0.00100 → 0.001

I apologize for the delay with the reply.
Thank you for your report. The problem was confirmed. We’ll try to fix it in one of the future updates.
I’ll inform you about any progress on this issue.

OK good to know! My workaround is to supply the initial values as string. It looks like strings are being “parsedToInt” by myform.getValue() in the end which makes this workaround a one-liner and nobrainer.

https://snippet.dhtmlx.com/qfxtqdoe

1 Like

Hello Harald.

We fixed your reported problem in the latest dhx.Suite update (v8.3.4).
Now the input type number should work properly with the “0” value.
You can test it in your original snippet:
https://snippet.dhtmlx.com/gk62wm1w
Please, download the latest available dhx.Suite build from your client’s area to get this fix.
Thank you for your report and best regards.

1 Like

@semantik that was a really quick fix, thank you so much!