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

Have the form field placeholder text default to the field name, not the field key #3004

Open
mooreds opened this issue Feb 20, 2025 · 0 comments

Comments

@mooreds
Copy link
Collaborator

mooreds commented Feb 20, 2025

Have the form field placeholder text default to the field name, not the field value

Problem

When I create a custom registration form with custom form fields, the default placeholder is the field key (user.data.foo) when it should be the form field name.

Solution

Update the default values to show the form field name, not the key. That looks like it is handled in customField in the helpers class.

Alternatives/workarounds

Update your messages file to contain the form field key with a value, as documented here.

Additional context

Came up during an internal training.

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant