From: john Date: Wed, 21 Mar 2018 04:58:28 +0000 (+0800) Subject: Roo/bootstrap/Input.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=ade71c41df8c3007b22ae299108fd3acc46579b4 Roo/bootstrap/Input.js --- diff --git a/Roo/bootstrap/Input.js b/Roo/bootstrap/Input.js index 16fc8ad3ab..0a34aadf22 100644 --- a/Roo/bootstrap/Input.js +++ b/Roo/bootstrap/Input.js @@ -1008,6 +1008,15 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, { return w; } + setFieldLabel : function(v) + { + this.fieldLabel = v; + + if(this.rendered){ + this.el.select('label',true).first().dom.innerHTML = (v === null || v === undefined ? '' : v); + } + } + });