Value numeric 0 is not displayed in text box

Hello numeric value 0 (ZERO) asigned to text box is not displayed
textbox control only show blanc or empty value

Hello,

It’s not recommended to use 0 values within Webix. You should use string “0” to stay on the safe side: { view:"text", value:"0" }.

Hello Helga,
Mi issue is when i get info from database
I form mode i can do your recomendation
but whe the info came from the database is to complicate change the value 0 to “0”

Ok, then you can customize Text control so that it converts its value to a string automatically: http://webix.com/snippet/5d70cfd7

Thanks Helga
I will work with your recomendation
Regards

Actually, this solution looks much like a workaround. Text and Textarea (but not Combo or any other controls with options) should display 0 even if it is entered as an integer.

We will consider to fix it till the next update.

Hi Helga, Is this issue fixed in the latest version?

Hello,

Yep, the issue was fixed in 5.1: https://webix.com/snippet/780ea9fc

@Helga The CDN of webix http://cdn.webix.com/edge/webix.js is still 5.1.1

The cdn contains a public non-commercial version of Webix (GPL) and it is updated with each major release.

The snippet tool works with the commercial version, Webix PRO, which additionally includes minor updates.

Nevertheless, the above issue was fixed in 5.1 in both PRO and GPL editions: https://webix.com/snippet/09ea4d04