logaretm / vee-validate

✅ Painless Vue forms
https://vee-validate.logaretm.com/v4
MIT License
10.83k stars 1.27k forks source link

Feature Request: more validators exist in Laravel #247

Closed MajedDH closed 7 years ago

MajedDH commented 7 years ago

Versions:

Description:

Laravel have some validation rules that doesn't exist in vee-validate those are:

Required If Required Unless Required With Required With All Required Without Required Without All

since you're inspired by their validation i hope you can add those

Thanks

logaretm commented 7 years ago

These rules can be emulated by using v-if so they are not really necessary to implement them as they are not as straight forward as they are on PHP.

for example you can hide a required field if other input value doesn't match a certain criteria and it will work fine.

202 Adds support for dynamic rules, so you can create computed rules on your Vue instance and emulate these functionalities. But I'm not ruling out that they will get implemented in the future I'm just saying that other features have higher priority. Thanks for the feedback.