Roo/bootstrap/PhoneInput.js
authorjohn <john@roojs.com>
Wed, 28 Mar 2018 03:44:11 +0000 (11:44 +0800)
committerjohn <john@roojs.com>
Wed, 28 Mar 2018 03:44:11 +0000 (11:44 +0800)
Roo/bootstrap/PhoneInput.js

index 52af6a5..f70cc45 100644 (file)
@@ -10,11 +10,11 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField,  {
         
         selectedClass: 'active',
         
-        dialCodeMapping: [],
+        dialCodeMapping: false,
         
         defaultDialCode: '+852',//
         
-        preferedCountries: [],//
+        preferedCountries: false,//
         
         getAutoCreate : function()
         {
@@ -48,7 +48,8 @@ Roo.extend(Roo.bootstrap.PhoneInput, Roo.bootstrap.TriggerField,  {
                 id : id,
                 type : 'number',
                 cls : 'form-control tel-input',
-                autocomplete: 'new-password'
+                autocomplete: 'new-password',
+                
             };
             
             if (this.name) {