See https://github.com/lob/react-address-autocomplete/blob/main/src/AddressForm/AddressFormInternational.js#L85
Steps to reproduce:
- Add AddressFormInternational component
- Completely fill out a valid non-US address, then make Address Line 1 something fake (eg: 123 fake st)
- Submit the form
- Receive error
- Update Address Line 1 with the valid value
- Submit the form
- Receive error:
Uncaught (in promise) Error: Expected countryCode to be of type string
at validateArguments (verify.js:36:1)
at verifyInternational (verify.js:89:1)
at handleSubmit (AddressFormInternational.js:78:1)
Any thoughts on a fix or workaround? Thanks
See https://github.com/lob/react-address-autocomplete/blob/main/src/AddressForm/AddressFormInternational.js#L85
Steps to reproduce:
Uncaught (in promise) Error: Expected countryCode to be of type string
at validateArguments (verify.js:36:1)
at verifyInternational (verify.js:89:1)
at handleSubmit (AddressFormInternational.js:78:1)
Any thoughts on a fix or workaround? Thanks