Roo/form/TextItem.js
authorAlan Knowles <alan@roojs.com>
Mon, 28 Sep 2020 05:12:21 +0000 (13:12 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 28 Sep 2020 05:12:21 +0000 (13:12 +0800)
Roo/form/TextItem.js

index e5209f1..ac41e52 100644 (file)
@@ -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