Not searching when typing `+` with the DialCode
Opened this issue · 0 comments
JonataCSantos commented
Steps to reproduce
- It's only searching when I type only the number, if I type
+55
, it doesn't work.
Expected behaviour
Should search in all cases, ignoring +
Actual behaviour
It doesn't search at all
Initialisation options
<ngx-intl-tel-input
[attr.data-cy]="dataCyId"
[preferredCountries]="[
CountryISO.UnitedStates,
CountryISO.Nigeria,
CountryISO.UnitedKingdom,
CountryISO.Kenya,
CountryISO.Canada,
CountryISO.India,
CountryISO.SouthAfrica,
CountryISO.Germany
]"
[enableAutoCountrySelect]="true"
[enablePlaceholder]="true"
[searchCountryFlag]="true"
[searchCountryField]="[SearchCountryField.All]"
[selectFirstCountry]="false"
[selectedCountryISO]="CountryISO.UnitedStates"
[numberFormat]="PhoneNumberFormat.International"
[separateDialCode]="true"
[maxLength]="15"
[phoneValidation]="true"
[inputId]="id"
[formControl]="control"
[class.custom-has-error]="hasPhoneError"
class="form-control p-0"
></ngx-intl-tel-input>