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 摘要。