react-redux-semantic-ui
react-redux-semantic-ui copied to clipboard
Validation.js
As a baby programmer, i am using this great repo to learn best practice and how to write clean code .Using the utils/validation.js in another project, i got the the following error. rule is not a function. Please how can i solve this. Thanks
Sorry for the late reply.
Can you find "src/utils/validation.js" and add console.log(rules) after "export function createValidator(rules, params) {" (line# 57) to make sure all rules are function?