myrta-ui 1.1.72 → 1.1.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/form/input-tel/data/all-countries.mjs +2 -2
- package/esm2020/lib/components/form/input-tel/input-tel.component.mjs +2 -2
- package/fesm2015/myrta-ui.mjs +2 -2
- package/fesm2015/myrta-ui.mjs.map +1 -1
- package/fesm2020/myrta-ui.mjs +2 -2
- package/fesm2020/myrta-ui.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2020/myrta-ui.mjs
CHANGED
|
@@ -16126,7 +16126,7 @@ const countryData = [
|
|
|
16126
16126
|
CountriesISO.Kazakhstan,
|
|
16127
16127
|
'7',
|
|
16128
16128
|
1,
|
|
16129
|
-
[],
|
|
16129
|
+
['741'],
|
|
16130
16130
|
CountriesRusLabel[CountriesISO.Kazakhstan]
|
|
16131
16131
|
],
|
|
16132
16132
|
[
|
|
@@ -17396,7 +17396,7 @@ class InputTelComponent {
|
|
|
17396
17396
|
}
|
|
17397
17397
|
get selectedCountryGet() {
|
|
17398
17398
|
const list = this.countriesToShowGet;
|
|
17399
|
-
if (!list.find(c => c.iso2 === this.selectedCountry.iso2)) {
|
|
17399
|
+
if (this.selectedCountry && !list.find(c => c.iso2 === this.selectedCountry.iso2)) {
|
|
17400
17400
|
this.selectedCountry = list[0];
|
|
17401
17401
|
}
|
|
17402
17402
|
return this.selectedCountry;
|