aws-amplify / amplify-ui-swift-authenticator

The Amplify UI Authenticator is a component that supports several authentiation flows using Amplify Authentication.
https://ui.docs.amplify.aws/swift/connected-components/authenticator
Apache License 2.0
15 stars 9 forks source link

phonenumber field validation/error not shown correctly #55

Closed manishsoldi closed 8 months ago

manishsoldi commented 8 months ago

Which Creating an account, in phonenumber field you can paste iphone keyboard suggested phone number in (408) 555-1212 format, which now can be submitted. But when error comes back from backend you can see ios log saying it is a phone number format error but on the screen you see a generic error that something went wrong.

Can we fix this to show the proper that phone number is in wrong format.

Thanks Manish

ruisebas commented 8 months ago

Hi @manishsoldi, thanks for reporting this issue.

We'll take a look and post updates here

ruisebas commented 8 months ago

The fix has been released in 1.1.1. Please update your dependency.

Thanks!