Skip to content
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

Formatting phone number without dash ("-") #715

Closed
3 tasks done
kienwei518 opened this issue Oct 19, 2023 · 3 comments
Closed
3 tasks done

Formatting phone number without dash ("-") #715

kienwei518 opened this issue Oct 19, 2023 · 3 comments
Labels

Comments

@kienwei518
Copy link

kienwei518 commented Oct 19, 2023

New Issue Checklist

Steps to reproduce

Pass a phone number to textField.text or type any phone number. The number come out with a dash e.g. +60 012-3456789

Expected result

An option to apply phone number format by modifying the MetadataPhoneNumberFormat's format value

Actual result

All number is come with "-"

Environment

I able to modify the replaceStringByRegex method by replacing "-" with empty string. However, this code will gone every time I pod install/update. Is there any better solution ?
Screenshot 2023-10-19 at 4 18 49 PM

@bguidolim
Copy link
Collaborator

It comes from the metadata, as you can check by yourself on JavaScript version.
You might need to change it in a higher level.

@kienwei518
Copy link
Author

It comes from the metadata, as you can check by yourself on JavaScript version.
You might need to change it in a higher level.

By modifying in JavaScript version, it still will gone when I pod install/update right ?

Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants