Closed exussum12 closed 10 years ago
Nested models seem to ignore the validators.
http://jsfiddle.net/dW2Qu/552/
As an example, a validator on email runs (alerts Email) but doesnt run for the nested model (no nm alert)
Sorry - updated the commit - didnt realize it was already pulled
return statement is changed to return _.isEmpty(errors)?false:errors; to avoid returning an empty object
return _.isEmpty(errors)?false:errors;
Updated, thanks
Nested models seem to ignore the validators.
http://jsfiddle.net/dW2Qu/552/
As an example, a validator on email runs (alerts Email) but doesnt run for the nested model (no nm alert)