#markus876
1 messages · Page 1 of 1 (latest)
HI there 👋 I'm taking a look to see if we have an option for approaching this.
The Address Element emits change events that you can listen to, which contains a value object that I believe holds the information you're looking for:
https://stripe.com/docs/js/element/events/on_change?type=addressElement#element_on_change-handler-value
Adding your additional context:
Specifically, you can call update(options) however the options appear to be quite limited - I don't see any for potentially flagging the address as invalid, or listing alternatives
The Address Element currently does not have functionality for suggesting alternative addresses, that would need to be custom built.
right, so i guess the question becomes, if we provide some suggestions outside of the address element (totally doable), how do we allow the user to select one and stick that back "into" the address element?
(thanks by the way, for the quick response!!)
Always happy to help! That's the part that isn't possible which will prevent this flow from being achievable via the Address Element.