How to focus first input with error dynamically in Angular

前端 未结 0 1491
北荒
北荒 2021-01-31 22:09

I need to do focus on the first input with error after validation. I get the input with error like this:

 getFormValidationErrors(form) {
    const errors = [];
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题