Closed vinothwindows47 closed 9 years ago
This is intentional, please refer to the documentation: http://validatejs.org/#validate-nested
You can fix it by changing your constraints to this:
var constraints = {
"basic\\.commandName": ...,
"basic\\.name: ...,
workingDirectory: ...
};
Thank you ansman
No problem, let me know if you find any issues with this.
When using validatejs , if the validate ( value or constraints ) contains ". " character which will not validate properly.For Example ,
values = { basic.commandName: "", basic.name: "", workingDirectory: "cide" };
constraints = { basic.commandName: Object, basic.name: Object, workingDirectory: Object };
To fix this one ,
Please remove check in your code in lune number between 282 .
This case will use for some users .