#boggerss_docs
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247206910349021214
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hello
o/
The labels' texts are not customizable
Or are you asking if you can put a placeholder into the Address Element itself for certain fields?
A bit of both really, The address element at the moment for example doesn't have a placeholder for First name or last name
Also if the label text can't be changed, does it pick up a locale and change the language based on that?
Yep the localization happens automatically by IP
That gives me more peace of mind!
I'm guessing a placeholder option isn't available also then
If you want placeholders, then you would set defaultValues when you create your Address Element: https://docs.stripe.com/js/elements_object/create_address_element#address_element_create-options-defaultValues
Ah yes I thought that but this provides a bad UX because they have to backspace the placeholder, no worries thanks for your help looks like the options aren't quite there
Ah I see you don't want to pre-fill, you just want a background placeholder
Yeah don't think you can customize the First and last name
That should currently show up
I'll submit a feature request though with that feedback
Thanks, it does seem a bit like something was missed
e.g.
If I choose full for name as per the options
I get a placeholder "First and last name"
If I choose split the place holders are missing from Firstname and Lastname
What do you mean by "split"?
Examples
Ah
If you set display.name: split
Interesting yes that does seem to be a miss
I'll file feedback that the placeholder there was left out
Perfect thanks for that ๐
Thanks for the feedback