akveo / akveo/nebular

Cannot change TabIndex Values on nb-select

Open
#2,551 0 comments 0 reactions 1 assignee Claimed by @chirichok98 View on GitHub
Dominant language
TypeScript
Stars
8.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

### 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",
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.