We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the form data is an array, conditionsMeet first tries to see if any elements in the array pass the condition:
https://github.com/RxNT/json-rules-engine-simplified/blob/c271482533324b275341e0598f24bc8c9667c23d/src/conditionsMeet.js#L38-L40
But this means a string gets passed as val to conditionsMeet, which it can't handle.
val
I think the inner function handling refVal.some() should just return false if val isn't an object rather than letting conditionsMeet throw.
The text was updated successfully, but these errors were encountered:
Fixes RXNT#18
c79d2c3
conditionsMeet can handle testing values that are arrays of strings. However it still fails to test arrays of numbers.
PR #19
Sorry, something went wrong.
5f2b777
Merge pull request #19 from mrclay/18_array_of_string
c321295
Fixes #18
No branches or pull requests
If the form data is an array, conditionsMeet first tries to see if any elements in the array pass the condition:
https://github.com/RxNT/json-rules-engine-simplified/blob/c271482533324b275341e0598f24bc8c9667c23d/src/conditionsMeet.js#L38-L40
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.
The text was updated successfully, but these errors were encountered: