New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using defaultRegion resets the country code on every focus #53
Comments
Same issue here did you find any workaround ? |
@bereydev No, I'm using it like this, and living with the issues it has and postponing having to deal with it. iPhoneNumberField(nil, text: $phoneNumberFormatted, isEditing: $fieldFocus)
.flagHidden(false)
.flagSelectable(true)
.prefixHidden(false)
.autofillPrefix(true) |
Fixed in v0.10.0 |
@MojtabaHs Still doesn't fix on 0.10.0 ! |
@MojtabaHs First thank you for putting time an effort into making this library publicly available. We are a small team of iOS developers and really like this project. It could be really useful for lot of other developer if it was maintained more actively! I would like to help your and support your project by contributing to this if you are up to put us a main contributors to the project we could really make it ready for new version of iOS and even more versatile as it is already. Please feel free to check our website https://bereyziat.dev or contact me directly on bereyziat.developer@gmail.com we could have a little call as well. |
Description
When using
defaultRegion
with a selectable country code flag, the country code resets back to the default every time the text field is focused.It should keep the selected country code and not reset back to the default.
Repro
iOS 15.0.4
iPhoneNumberField 0.6.1
Code
The text was updated successfully, but these errors were encountered: