Skip to content

Commit

Permalink
feat: support tabindex
Browse files Browse the repository at this point in the history
closes #680
  • Loading branch information
varnastadeus committed Aug 8, 2018
1 parent d5e97af commit 75e9ac2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ng-select/ng-select.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
type="text"
autocomplete="{{dropdownId}}"
[attr.id]="labelForId"
[attr.tabindex]="tabIndex"
[readOnly]="!searchable"
[disabled]="disabled"
[value]="filterValue"
Expand Down
1 change: 1 addition & 0 deletions src/ng-select/ng-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export class NgSelectComponent implements OnDestroy, OnChanges, AfterViewInit, C
constructor(
@Inject(NG_SELECT_DEFAULT_CONFIG) config: NgSelectConfig,
@Attribute('class') public classes: string,
@Attribute('tabindex') public tabIndex: string,
private _cd: ChangeDetectorRef,
private _console: ConsoleService,
public elementRef: ElementRef
Expand Down

0 comments on commit 75e9ac2

Please sign in to comment.