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

Getting validation errors messages #301

Open
Titouaks opened this issue Feb 28, 2024 · 0 comments
Open

Getting validation errors messages #301

Titouaks opened this issue Feb 28, 2024 · 0 comments

Comments

@Titouaks
Copy link

Hi there, Not sure I'm right opening an issue, let me know if it rely elsewhere for this kind of demand

I was wondering if it could be a feature to add the details errors messages when checking if a phone number is valid or not.
Likewise we have with active record validations when a record is invalid, we can call the #valid? method on the instance and get the errors messages through #errors and #errors.messages

Could this be a improvement of the lib or this already exist in it ?

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

No branches or pull requests

2 participants