Angularjs: form validation and input directive

后端 未结 2 671
情话喂你
情话喂你 2020-12-09 23:14

I created a directive in an AngularJS app which produces styled input in my application. It looks like this:

AC.directive(\'formInput\',function ($compile) {         


        
2条回答
  •  北荒
    北荒 (楼主)
    2020-12-10 00:04

    Here is another take on form / name validation directives stacklink

    ex: ex:
    提交评论

提交回复
热议问题