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

Built-in messages #287

Open
tigerros opened this issue Feb 4, 2024 · 3 comments
Open

Built-in messages #287

tigerros opened this issue Feb 4, 2024 · 3 comments

Comments

@tigerros
Copy link

tigerros commented Feb 4, 2024

I'm using this for form validation but I'm disappointed how little user experience is cared about. Even a simple length constraint has no message to help users understand what went wrong. Could this be added? I don't like adding custom messages everywhere.

@Keats
Copy link
Owner

Keats commented Feb 4, 2024 via email

@tigerros
Copy link
Author

tigerros commented Feb 6, 2024

I suppose you got me there. i18n is hard, but I don't think that "only" English messages would be a waste of time, especially since it requires no API changes. Having English messages is undoubtedly better than having no messages at all.

@Keats
Copy link
Owner

Keats commented Feb 12, 2024

i'd rather have a separate crate with default error messages for various languages than baking one

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

2 participants