angular-validator
angular-validator copied to clipboard
PROBLEM WITH nested $scope
When i use this code
$validator.validate($scope, 'mts.doc')
it always proceed in success promise although there are some required in my modules here the models
{
id : $scope.mts.doc.id,
name : $scope.mts.doc.name,
role : $scope.mts.doc.role,
code : $scope.mts.doc.code,
Description: $scope.mts.doc.description,
hierarchy : $scope.mts.docHierarchy,
acctEntryID: $scope.mts.acctEntry.id,
acctEntry : $scope.mts.acctEntry.name
}
HOPE YOU CAN HELP ME
$validator.validate($scope, 'mts')
Still the same output... :(
by the way i use chosen instead of normal select tag...
does it affect the validator?
the bug occur when the form was inside of the TABSET
@kelp404 - this is my plunker regarding with the bootstrap-angular-ui.. hopew you can help me PLUNKER