Ext过滤空格 重写了组件...  

 

Ext.apply(Ext.form.TextField.prototype, {
      validator : function(text) {
       if (this.allowBlank == false
         && Ext.util.Format.trim(text).length == 0)
        return false;
       else
        return true;
      }
     });

 

相关文章:

  • 2022-03-05
  • 2021-06-20
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-24
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
相关资源
相似解决方案