Et2NumberReadonly: If value is null, just show nothing

This commit is contained in:
nathan 2023-04-11 17:08:18 -06:00
parent f8904ef126
commit 32ce18b832

View File

@ -25,7 +25,11 @@ export class Et2NumberReadonly extends Et2TextboxReadonly
set_value(val)
{
if (""+val !== "")
if(val === null)
{
val = "";
}
else if("" + val !== "")
{
if(typeof this.precision !== 'undefined')
{