MaxMage / international-telephone-input

Integration to Magento 2 a jQuery plugin for entering and validating international telephone numbers.
Open Software License 3.0
26 stars 44 forks source link

Setting selected country/flag? #20

Closed xtremevision closed 2 years ago

xtremevision commented 2 years ago

When a field is loaded with a phone number, the plugin shows the drop down without a selected flag. How can I tell the plugin which flag/country to select on load? Is there an option?

Thanks.

xtremevision commented 2 years ago

initialCountry option - sorry for not spotting it sooner