I am making a form where I am using a Class to disabled my inputs using pointer-even: none, my input editable when I am trying to click on the input which is correct, but when I am using “TAB” key it is focusing on input and I can edit the input, how i can stop focus should not go on my input using tab key, and should allow to edit the input.
> <form style="padding:10px; margin:10px" action="" class=" form-inline">
> <div class="form-group">
> <div class="input-group">
> <div class="form-group">
> <div class="input-group">
> <input type="text" class="form-control disabledClass" placeholder="1">
> </div>
> </div>
> <div class="form-group">
> <div class="input-group">
> <input type="text" class="form-control disabledClass" placeholder="2" >
> </div>
> </div>
>
> </div>
> </div>
> </form>
>
> CSS:
> .disabledClass{
> background: #f1f1f1;
> pointer-events: none;
> }