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

Bug in the Email validator #143

Open
solventt opened this issue Oct 7, 2021 · 3 comments
Open

Bug in the Email validator #143

solventt opened this issue Oct 7, 2021 · 3 comments

Comments

@solventt
Copy link

solventt commented Oct 7, 2021

For example, there are validation rules for the email field: 'email' => 'required|string|email|unique:emails,email'

This way causes that only the message of the 'email' rule to be always shown whatever rule is triggered.

But if I change the validator name other than 'email' - the problem goes away, e.g.:
'other' => 'required|string|email|unique:emails,email'

@ookamiiixd
Copy link

I faced the same issue.

@michaelthedev
Copy link

Currently facing the same issue

@michaelthedev
Copy link

michaelthedev commented Apr 3, 2024

You've probably carried on with your lives on this haha

But for anyone having the same issue, i did this fix #161 (comment)

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

3 participants