mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Et2NumberReadonly: If value is null, just show nothing
This commit is contained in:
parent
f8904ef126
commit
32ce18b832
@ -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')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user