coreui/coreui-angular

button element with cButton directive loosing tabindex attribute

Closed this issue · 0 comments

I have the following button, which i would like to be ignored when using the tab key:

<button cButton color="light" (click)="..." tabindex="-1">...

The tabindex attribute is removed when rendered for html.

Without the cButton directive, this does not happen.

I can fix this, by using an with cButton. The tabindex is not removed. But I prefere using the button element and hope you can fix this.