Extjs中如何在一行textfield后面增加文字提示

添加监听事件:

listeners: {
               render: function(obj) {
                     var font=document.createElement("font");
                     font.setAttribute("color","red");
                     var tips=document.createTextNode('(时间格式:2000-2012)');//这个就是后面的文字提示信息
                     font.appendChild(tips);
                    obj.el.dom.parentNode.appendChild(font);
             }

      }

原文链接:https://blog.csdn.net/home_zhang/article/details/9193749

原文地址:https://www.cnblogs.com/Mrshuang11/p/12092102.html