proengsoft / laravel-jsvalidation

Laravel Javascript Validation
MIT License
1.13k stars 175 forks source link

Implement new Laravel 8 validation rules #733

Open kevinnewesil opened 3 years ago

kevinnewesil commented 3 years ago

Subject of the issue

Support for laravel 8:

Your environment

Steps to reproduce

Use any of the none pre-defined available validation rules; EG: "Present". It will consider these rules as "server rules" and make them laravelValidationRemote properties. which causes unnecessary requests for issues that do not require server-side validation.

List of rules that are not added in Support/RuleListTrait.php

Expected behaviour

Validation rules are properly parsed as clientRules or serverRules when they're laravel default rules that don't require server side logic.

Actual behaviour

All laravel validation rules that are newly added in laravel 8.x will be parsed as serverRules and create overhead in Ajax requests.

stale[bot] commented 3 years ago

This issue/proposal has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automatically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for contributing :)