AbsaOSS / AbsaOSS/cps-shared-ui

InputComponent - expand type beyond text/number/password

オープン
#644 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement library
主要言語
TypeScript
スター
9
フォーク
6
平均マージ
23時間 46分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。