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

Library don't working as expected with email validation #481

Closed
LocalHeroPro opened this issue Aug 1, 2020 · 1 comment
Closed

Library don't working as expected with email validation #481

LocalHeroPro opened this issue Aug 1, 2020 · 1 comment

Comments

@LocalHeroPro
Copy link

Subject of the issue

Library don't work with email validation.

Your environment

  • version of this package: 4.1.0
  • version of Laravel: 7.22.4

Steps to reproduce

  1. Create validation:
public function rules(): array
{
    return = [
        'email' => 'required|string|max:255|email:rfc,dns'
    ];
}
  1. Enter in input: example@example (without Top-Level Domain - TLD)
    And JS validation pass that input, fortunately Laravel not!

Expected behaviour

Proper working JS validatior with email:dns valiadtion.

Actual behaviour

JS validator pass incorrect data.

@bytestream
Copy link
Collaborator

Thanks for the full report, very helpful.

This is a duplicate of #476

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