I have a fiddle in which i am using knockout.js. I created a custom validation for checking dupplicate entry in array and using a native validation ("required"). Custom validation is working properly but native validation is not. Please take a lool to this fiddle :
EDIT
You can re-generate the issue by first add empty entry and then add new entry.Than you will see that while adding empty entry you will not see the validation error message , you will see the message when you will add the valid entry.How to solve this issue?
This is happening because of the “field reset”
Add
self.newItem.isModified(false);after that to reset the modified status of the field.Updated fiddle: http://jsfiddle.net/hsnCW/4/