Fix null being represented into remark's column in links

This commit is contained in:
hadi 2023-05-24 13:38:13 +02:00
parent 040183e68e
commit fdc8b9b997

View File

@ -260,7 +260,15 @@ export class Et2Link extends ExposeMixin<Et2Widget>(Et2Widget(LitElement)) imple
{
return;
}
this.dataset[key] = _value[key];
// we should not let null value being stored into dataset as 'null'
if (_value[key] === null)
{
this.dataset[key] = "";
}
else
{
this.dataset[key] = _value[key];
}
})
}
this.requestUpdate("value");