danvick / form_builder_phone_field

MIT License
8 stars 25 forks source link

initialCountry #19

Open Marcosmaliki opened 2 years ago

Marcosmaliki commented 2 years ago

initialCountry does not reflect

Sample code: initialCountry: CountryPickerUtils.getCountryByIsoCode('KE'),

deandreamatias commented 2 years ago

In version 1.0.0-beta.0, I guess that this initialCountry will be delete, because:

  1. Need a country_pickers library (no exposed by form_builder_phone_field)
  2. Allready has a property to set default country iso code, defaultSelectedCountryIsoCode

Marcos, maybe point 2 can help you