Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set tabindex for angular material elements?

How could I set tabindex=-1 on angular material elements? f.e. if I set it into mat-checkbox, in DOM I see:

mat-checkbox tab-index=-1
   label
      input tabindex=0

and in the mat-button-toggle the same: button inside mat-wrappera doesn't change its tab index.

like image 739
romanivna Avatar asked Apr 07 '26 02:04

romanivna


1 Answers

By the time there is no way to do so. You may follow up here: https://github.com/angular/material2/issues/12041

like image 104
Alirizia Avatar answered Apr 08 '26 21:04

Alirizia



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!