From: Alan Knowles Date: Mon, 28 Sep 2020 05:12:21 +0000 (+0800) Subject: Roo/form/TextItem.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=b2216bde31b34b8ab4b6d7ca7f57c19c0ac93425 Roo/form/TextItem.js --- diff --git a/Roo/form/TextItem.js b/Roo/form/TextItem.js index e5209f1f5a..ac41e52939 100644 --- a/Roo/form/TextItem.js +++ b/Roo/form/TextItem.js @@ -59,6 +59,14 @@ Roo.extend(Roo.form.TextItem, Roo.BoxComponent, { } this.el = ct.createChild(cfg, position); } + }, + /* + * setHTML + * @param {String} html update the Contents of the element. + */ + setHTML : funciton(html) + { + this.fieldEl.dom.innerHTML = html; } }); \ No newline at end of file