ember-phone-input
Advanced tools
Comparing version 9.0.0-alpha.0 to 9.0.0-alpha.1
@@ -207,3 +207,3 @@ import Component from '@ember/component'; | ||
} = this; | ||
var _iti = this.phoneInput.intlTelInput(this.element, { | ||
let options = { | ||
autoHideDialCode: true, | ||
@@ -213,3 +213,2 @@ nationalMode: true, | ||
autoPlaceholder, | ||
customPlaceholder: () => customPlaceholder, | ||
initialCountry, | ||
@@ -219,3 +218,7 @@ onlyCountries, | ||
separateDialCode | ||
}); | ||
}; | ||
if (customPlaceholder) { | ||
options.customPlaceholder = () => customPlaceholder; | ||
} | ||
var _iti = this.phoneInput.intlTelInput(this.element, options); | ||
if (this.number) { | ||
@@ -222,0 +225,0 @@ _iti.setNumber(this.number); |
{ | ||
"name": "ember-phone-input", | ||
"version": "9.0.0-alpha.0", | ||
"version": "9.0.0-alpha.1", | ||
"description": "A component to input / validate / submit phone numbers", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33932
311