Roo/bootstrap/PhoneInput.js
authorjohn <john@roojs.com>
Wed, 28 Mar 2018 08:34:05 +0000 (16:34 +0800)
committerjohn <john@roojs.com>
Wed, 28 Mar 2018 08:34:05 +0000 (16:34 +0800)
Roo/bootstrap/PhoneInput.js

index 49be863..5b88cc7 100644 (file)
@@ -21,7 +21,7 @@
  * @cfg {String} triggerText multiple combobox trigger button text default 'Select'
  * @cfg {String} emptyTitle default ''
  
- * @cfg {String} emptyTitle default ''
+ * @cfg {String} defaultDialCode default '+852'
  * @cfg {String} emptyTitle default ''
  * @cfg {String} emptyTitle default ''
  * @cfg {String} emptyTitle default ''
@@ -45,14 +45,15 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField, {
         
         invalidClass : "has-warning",
         
-        validClass: 'has-success',
-        
-        defaultDialCode: '+852',
-        
         allCountries: [],
         
         dialCodeMapping: [],
         
+        
+        validClass: 'has-success',
+        
+        defaultDialCode: '+852',
+        
         preferedCountries: [
             'hk',
             'gb',