Skip to content

Commit

Permalink
fix: add tabIndex for material elements (udos86#1047)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsg-tthrash committed Dec 4, 2019
1 parent a963297 commit 135db10
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
[indeterminate]="model.indeterminate"
[labelPosition]="model.labelPosition || 'after'"
[name]="model.name"
[tabIndex]="model.tabIndex"
[ngClass]="[getClass('element', 'control'), getClass('grid', 'control')]"
(blur)="onBlur($event)"
(change)="onChange($event)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
[hideRequiredMarker]="model.getAdditional('hideRequiredMarker', false)"
[ngClass]="getClass('grid', 'control')">

<mat-chip-list #matChipList [formControlName]="model.id" [id]="id" [multiple]="true">
<mat-chip-list #matChipList
[formControlName]="model.id"
[id]="id"
[multiple]="true"
[tabIndex]="model.tabIndex">

<mat-chip *ngFor="let chip of chips; let index = index"
[selectable]="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
[placeholder]="model.placeholder"
[readonly]="model.readOnly"
[required]="model.required"
[tabindex]="model.tabIndex"
(blur)="onBlur($event)"
(dateChange)="onChange($event)"
(dateInput)="onCustomEvent($event, 'dateInput')"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
[name]="model.name"
[ngClass]="[getClass('element', 'control'), getClass('grid', 'control')]"
[required]="model.required"
[tabIndex]="model.tabIndex"
(blur)="onBlur($event)"
(change)="onChange($event)"
(focus)="onFocus($event)">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
[ngClass]="getClass('element', 'control')"
[placeholder]="model.placeholder"
[required]="model.required"
[tabIndex]="model.tabIndex"
(openedChange)="onCustomEvent($event, 'openedChange')"
(selectionChange)="onChange($event)">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[id]="id"
[labelPosition]="model.labelPosition || 'after'"
[name]="model.name"
[tabIndex]="model.tabIndex"
[ngClass]="[getClass('element','control'), getClass('grid','control')]"
(change)="onChange($event)"
(dragChange)="onCustomEvent($event, 'dragChange')"
Expand Down

0 comments on commit 135db10

Please sign in to comment.