akveo / akveo/nebular

Cannot change TabIndex Values on nb-select

Offen
#2,551 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @chirichok98 Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
8.1k
Forks
1.5k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Issue type

**I'm submitting a ...** (check one with "x")

* [x] bug report
* [ ] feature request

### Issue description

**Current behavior:**
Even if we change the tabindex of nb-select to "-1" then also the select tabbable. In console elements we can see that this behaviour occurs due to the button present in the nb-select. If I add tabindex="-1" to the button element in the console then the desired behaviour is achieved.
**Expected behavior:**
If the [tabIndex]="-1" attributed is added to the select html, this tabIndex value should be utilized instead of the default "0"

**Steps to reproduce:**
...

A

...

**Related code:**

```

A

```

### Other information:

**npm, node, OS, Browser**
```
Node : v12.18.3
npm : 6.14.6
OS : Windows 10
Browser : Chrome
```

**Angular, Nebular**
```
"@angular/core": "^8.0.0",
"@nebular/auth": "4.4.0",
"@nebular/date-fns": "^5.0.0",
"@nebular/eva-icons": "4.4.0",
"@nebular/moment": "^5.0.0",
"@nebular/security": "4.4.0",
"@nebular/theme": "4.4.0",
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.