Skip to content

Commit

Permalink
placeholders for nationalNumbers
Browse files Browse the repository at this point in the history
  • Loading branch information
jackocnr committed Sep 7, 2014
1 parent 963de5a commit 69ea54f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/js/intlTelInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ https://github.com/Bluefieldscom/intl-tel-input.git
// update the input placeholder to an example number from the currently selected country
_updatePlaceholder: function() {
if (window.intlTelInputUtils && !this.hadInitialPlaceholder) {
var placeholder = intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2);
var iso2 = this.selectedCountryData.iso2, placeholder = intlTelInputUtils.getExampleNumber(iso2, this.options.nationalMode);
this.telInput.attr("placeholder", placeholder);
}
},
Expand Down
Loading

0 comments on commit 69ea54f

Please sign in to comment.