selectedClass: 'active',
- dialCodeMapping: false,
+ allCountries: false,
- defaultDialCode: '+852',
+ dialCodeMapping: false,
preferedCountries: false,
- allCountries: false,
+ defaultDialCode: '+852',
getAutoCreate : function()
{
+ var data = Roo.bootstrap.PhoneInputData;
var align = this.labelAlign || this.parentLabelAlign();
var id = Roo.id();
- for (var i = 0; i < this.Roo.bootstrap.PhoneInput.AllCountries.length; i++) {
- var c = this.Roo.bootstrap.PhoneInput.AllCountries[i];
+ for (var i = 0; i < data.length; i++) {
+ var c = data[i];
this.allCountries[i] = {
name: c[0],
iso2: c[1],