Roo/form/TextItem.js
[roojs1] / 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