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
compareValue(value, fieldProps, validationName, validationParams, globalValue) { const { field, function: fn } = validationParams; const valueToCompare = globalValue[field]; const allowed = { match: () => valueToCompare === value, notMatch: () => valueToCompare !== value, }; if (!Object.hasOwnProperty.call(allowed, fn)) { throw new CollectError( `compareValue function "${fn}" does not exist. Allowed: ${Object.keys(allowed).join(', ')}` ); } return allowed[fn](); },
I want to update one more validation for 2 value must be not equal. Please help me to check a look and this. Thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Missing validation for compare 2 value must be different
I want to update one more validation for 2 value must be not equal. Please help me to check a look and this. Thank you!
The text was updated successfully, but these errors were encountered: