I am using a CRUD inline edit/add using AngularJS. I would like to know how to auto-focus to the textbox on Edit/New.
The textboxes are dynamically created within the modal window.
I am using a CRUD inline edit/add using AngularJS. I would like to know how to auto-focus to the textbox on Edit/New.
The textboxes are dynamically created within the modal window.
Writing an attribute directive would be best idea. Here is the link you can simply use this.
Write your custom directive or you can use https://github.com/Aks1357/angular-auto-focus, it has bower option