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

i18n and defineComponentBinds #4530

Closed
JohannesSchwegler opened this issue Nov 6, 2023 · 1 comment · Fixed by #4497
Closed

i18n and defineComponentBinds #4530

JohannesSchwegler opened this issue Nov 6, 2023 · 1 comment · Fixed by #4497
Labels
✨ enhancement a "nice to have" feature 🛳 In PR This issue is being addressed in a PR

Comments

@JohannesSchwegler
Copy link

Is your feature request related to a problem? Please describe.

Currently it is not possible to tell defineComponentBinds to use a different label for the error message placeholders.
For example is my key / path is named address.city, then the error message will say "address.city is required". UseField offers a way to add a custom label, defineComponentBinds doesn't.

Describe the solution you'd like

Provide the possibility to pass a custom label for message placeholders.

@logaretm
Copy link
Owner

Makes sense, I will add this to the work in #4497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement a "nice to have" feature 🛳 In PR This issue is being addressed in a PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants