i want to focus a disabled button. i have a form with some inputs, ng-repeats and a confirm button. if i tab throw these elements all works fine. but if my confirm button is disabled it dont get the focus. any idears how to give the focus in the right order if its disabled? this is the button:
<button type="submit"
class="btn btn-adesso"
ng-disabled="!newRepoForm.$valid||isSend">
Absenden
</button>
the validation (via REST) of the last input field is triggered when the focus is lost. so if you fill in the last field and tab on, the confirm button is disabled cause form "waits" for the rest validation. so the confirm button is disabled for the moment of REST validation and dont get the focus but it should get the focus. and then the button will be enabled when validation finished