Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST]: Custom placeholder option for inputs in Address Element. #629

Open
tnmquan9799 opened this issue Jul 4, 2024 · 4 comments
Open
Labels
bug Something isn't working stale

Comments

@tnmquan9799
Copy link

What happened?

Hey I'm implementing an Address Element from Stripe. I decided to hide all the labels to match my desgin consistency. But only then I found out that the City and ZIP inputs don't have a placeholder.

Is there a plan for supporting this or any workaround? If I can I would just show the labels but not in this case. Thank you!

Environment

No response

Reproduction

No response

@tnmquan9799 tnmquan9799 added the bug Something isn't working label Jul 4, 2024
Copy link

stale bot commented Aug 1, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 1, 2024
@brendanm-stripe
Copy link
Contributor

Hey there, while we are not currently planning to offer custom placeholders I have shared the report of missing placeholders on City & Zip so that we can get those added.

@stale stale bot removed the stale label Aug 19, 2024
@brendanm-stripe
Copy link
Contributor

We're looking into this, but as an interim option you can try floating labels to see if that works for you. I understand this might not be as aligned with your existing styles, though.

const appearance = {
  labels: 'floating',
}

Copy link

stale bot commented Sep 29, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants