akveo / akveo/nebular

Input Types & Masks (Feature Request)

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

描述

### Issue type
* [ ] bug report
* [X] feature request

### Issue description
More input types & masks like number input, email input, phone number input

**Current behavior:**
Currently, there is only text input component

**Expected behavior:**
I would like to add more types like:
* Number Input - Input component that allows only numeric.
* Email Input - input component that allows email only with a mask.
* Phone input - input component that allows phone number only with a mask.
* IP input - input component that allows IP only with a mask.

I think all these types can be done by the ability to add custom masks. Something like this plugin do: https://github.com/RobinHerbots/Inputmask

**Examples:**
![Imgur](https://i.imgur.com/MeeuVMj.png)
![Imgur](https://i.imgur.com/NNluHhZ.png)
![Imgur](https://i.imgur.com/sbDEg6k.png)

Thanks a lot,
Garry Lachman

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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