Skip to content

How to validate a field that is either string or array? #3760

Answered by WeyIin
galaczi asked this question in Help
Discussion options

You must be logged in to vote

What I would do is maybe iterate through the array and call the validator on that field with existing one..

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@galaczi
Comment options

@WeyIin
Comment options

@galaczi
Comment options

Answer selected by galaczi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants