Open nicolas-guichard opened 6 years ago
Issue https://github.com/monterail/vuelidate/issues/66 stated otherwise, but I don't understand why sameAs should imply required, it is known bad practice for any other validator.
Moreover, it is much easier to combine required with sameAs than to write sameAsButNotRequired. I wanted to perform a simple signin/signup form when I stumbled upon this.
This exemple would have to be changed accordingly.
Is this still an issue?
Issue https://github.com/monterail/vuelidate/issues/66 stated otherwise, but I don't understand why sameAs should imply required, it is known bad practice for any other validator.
Moreover, it is much easier to combine required with sameAs than to write sameAsButNotRequired. I wanted to perform a simple signin/signup form when I stumbled upon this.
This exemple would have to be changed accordingly.