javascript - Angular JSCustom directive validation not working for dynamically generated inputs -
i'm using nested ng-forms validate dynamically generated inputs in angular js, partially working.
i've created custom validation directive called 'wrinteger' takes 2 additional attributes (max , min).
for reason, max , min values aren't getting picked , causing max , min error raised. i've created plunker explain situation. there 2 forms in plunker, testform , newform. testform works since not dynamically generated.
newform problem lies. appreciated. let me know if need make more clear. thank you
min , max implemented in angularjs. should help: http://docs.angularjs.org/api/ng.directive:input.number
Comments
Post a Comment