conditionsMeet fails on array of strings
Closed this issue · 1 comments
mrclay commented
If the form data is an array, conditionsMeet first tries to see if any elements in the array pass the condition:
But this means a string gets passed as val
to conditionsMeet, which it can't handle.
I think the inner function handling refVal.some() should just return false if val isn't an object rather than letting conditionsMeet throw.