#_yelsew
1 messages · Page 1 of 1 (latest)
Can you share how you pass your code on how you populate the contacts?
and what does the current UI look like?
<AddressElement
options={{
mode: "billing",
contacts: [
{
name: "test",
address: {
line1: "string",
line2: "string",
city: "Denver",
state: "CO",
postal_code: "string",
country: "US",
},
},
],
}}
onChange={onAddressChange}
/>
I replaced the postal code with an actual stringified number and that rendered properly 👍
Is there a way to remove the "Change" button?
The address in the contacts is not a valid address, so it will prompt to ask for the new address.
Contacts will only render if the address/postal code is valid
I'm afraid it's not possible to remove "Change" button
All good, thanks for your help