AbsaOSS / AbsaOSS/cps-shared-ui

InputComponent - expand type beyond text/number/password

未关闭
#644 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement library
主要语言
TypeScript
星标
9
派生
6
平均合并
23 小时 46 分钟
30 天内合并 PR
5

描述

`type` is currently limited to `'text' | 'number' | 'password'`:

https://github.com/AbsaOSS/cps-shared-ui/blob/fac3d6c60e5f052bdd48dbc3d7ca0db409246c63/projects/cps-ui-kit/src/lib/components/cps-input/cps-input.component.ts#L92

We should also allow `email`, `tel`, `url`, and `search` so consumers get the right mobile keyboard, autofill, and validation without dropping back to plain text.

Skipping types that already have (or deserve) their own component: `date`, `time`, `color`, `file`, `checkbox`, etc.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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