Fix unable to save cleared link value

This commit is contained in:
nathan 2023-12-05 08:58:41 -07:00
parent d24c0f05ce
commit c400b548e8

View File

@ -340,7 +340,7 @@ export class Et2LinkEntry extends Et2InputWidget(FormControlMixin(SlotMixin(LitE
{ {
if(this.onlyApp) if(this.onlyApp)
{ {
return <string>this._searchNode?.value; return <string>this._searchNode?.value ?? "";
} }
return this._searchNode ? <LinkInfo>{ return this._searchNode ? <LinkInfo>{
id: this._searchNode.value, id: this._searchNode.value,