Skip to content

OR operator on validations

Compare
Choose a tag to compare
@phpfui phpfui released this 17 Jul 20:17
· 73 commits to main since this release

OR Operator for Validations
You can validate a field if any one of the validators passes. Use the vertical bar (|) to separate validators. If one of the validators passes, then the the field is valid.