akveo / akveo/nebular

Select should start selecting values when closed and typing

未关闭
#2,159 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

### Issue type

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

* [ ] bug report
* [X] feature request

### Issue description

**Current behavior:**
One could argue this is a bug, but native select boxes work a lot better with the keyboard. Especially when it's time to select an item.

**Expected behavior:**
While the select box has focus, start typing should select the value that matches the keystroke.
Also, I should be able to type more than just the first letter. This becomes particularly annoying in selects that contain a list that we already know the answer, such as a country, a date, or month.

In a giant list of country, if you try to find "Canada", I should be able to type "can" and get right on it.
Same thing with months, or dates.

**The list should not have to be open for this to work.**

### Other information:

**npm, node, OS, Browser**
```
Windows
Chrome
```

**Angular, Nebular**
```
"@angular/common": "^8.2.14",
"@nebular/theme": "^4.6.0",
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。