Avoid error setting placeholder

This commit is contained in:
nathan 2022-07-08 09:30:41 -06:00
parent ff6d0ef785
commit 3d2e20ce0a

View File

@ -221,7 +221,10 @@ export class Et2LinkEntry extends Et2InputWidget(FormControlMixin(ValidateMixin(
set placeholder(new_value) set placeholder(new_value)
{ {
this._searchNode.placeholder = new_value; if(this._searchNode)
{
this._searchNode.placeholder = new_value;
}
} }
protected _bindListeners() protected _bindListeners()