roojs-bootstrap.js
authorjohn <john@roojs.com>
Wed, 31 Jan 2018 05:30:38 +0000 (13:30 +0800)
committerjohn <john@roojs.com>
Wed, 31 Jan 2018 05:30:38 +0000 (13:30 +0800)
roojs-bootstrap-debug.js

roojs-bootstrap-debug.js
roojs-bootstrap.js

index 14ab01a..a243afc 100644 (file)
@@ -37926,6 +37926,8 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
      
      minListWidth : 70,
      
+     triggerAction: 'query',
+     
      validClass : "has-success",
      
      invalidClass: "has-warning",
index d578924..c2481a0 100644 (file)
@@ -1599,7 +1599,7 @@ this.pnode.addClass("disabled");}},enable:function(){this.disabled=false;this.pn
 }},closeText:"Close this tab"});
 // Roo/bootstrap/PhoneInput.js
 Roo.bootstrap.PhoneInput=function(A){Roo.bootstrap.PhoneInput.superclass.constructor.call(this,A);this.addEvents({'expand':true,'collapse':true,'beforeselect':true,'select':true,'beforequery':true,'add':true,'edit':true,'remove':true,'afterremove':true,'touchviewdisplay':true}
-);this.country=[];};Roo.extend(Roo.bootstrap.PhoneInput,Roo.bootstrap.TriggerField,{listWidth:undefined,modalTitle:'',selectedClass:'active',maxHeight:300,minListWidth:70,validClass:"has-success",invalidClass:"has-warning",defaultCountry:'hk',preferedCountries:undefined,filterCountries:undefined,displayMode:undefined,getAutoCreate:function(){this.list=Roo.bootstrap.PhoneInput.List;
+);this.country=[];};Roo.extend(Roo.bootstrap.PhoneInput,Roo.bootstrap.TriggerField,{listWidth:undefined,modalTitle:'',selectedClass:'active',maxHeight:300,minListWidth:70,triggerAction:'query',validClass:"has-success",invalidClass:"has-warning",defaultCountry:'hk',preferedCountries:undefined,filterCountries:undefined,displayMode:undefined,getAutoCreate:function(){this.list=Roo.bootstrap.PhoneInput.List;
 if(this.filterCountries){for(var i=0;i<this.filterCountries.length;i++){delete this.list[this.filterCountries[i]];}}if(this.preferedCountries){}var A=this.labelAlign||this.parentLabelAlign();var id=Roo.id();var B={cls:'form-group'};var C={tag:'input',id:id,type:this.inputType,cls:'form-control',style:'padding-left: 60px;',placeholder:this.placeholder||''}
 ;if(this.name){C.name=this.name;}if(this.size){C.cls+=' input-'+this.size;}if(this.disabled){C.disabled=true;}var D=C;if(this.hasFeedback&&!this.allowBlank){var E={tag:'span',cls:'glyphicon form-control-feedback'};}D={cn:[]};D.cn.push(C);if(this.hasFeedback&&!this.allowBlank){D.cls+='has-feedback';
 D.cn.push(E);}var F={tag:'div',cn:[{tag:'input',type:'hidden',cls:'form-hidden-field'},D]};var G={tag:'span',html:'flag',style:'margin-right:5px',cls:'roo-selected-region',cn:[]};var H={tag:'span',cls:'caret'};if(this.caret!=false){H={tag:'i',cls:'fa fa-'+this.caret}