#alex_code

1 messages ยท Page 1 of 1 (latest)

shy violetBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1318881413801705544

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

violet lion
#

๐Ÿ‘‹

that i can not control or can get the value to use
That Checkbox is used within the Element, I'm not sure if you have access to it.

#

Could you please share where/how you are using syncAddressCheckbox?

remote bridge
#

Yes.

I don't use it, it gives me problems because it shows when I use both ways of AddressElemeent and if I use my custom checkbox, the user sees 2 checkboxes. I would like to use this one from stripe if possible, or at least hide it.
I found "syncAddressCheckbox" looking for information in the documentation. I started from the browser inspection where I found the input with the id "checkbox-syncAddress"

violet lion
#

Have you tried to set none to syncAddressCheckbox ?

remote bridge
violet lion
#

It's no on the AddressElement, it's on the Element instance creation

remote bridge
#

It doesn't work with Elements either

violet lion
#

You need to set it at the same level of appearance and clientSecret

remote bridge
#

photo nr 3

#

screenshoot nr 3

violet lion
#

That's a Typescript warning, I think you can simply ignore it

#

you can use @ts-ignore

shy violetBOT
remote bridge
#

yes, you're right, it's hidden now