AbsaOSS / AbsaOSS/cps-shared-ui
InputComponent - expand type beyond text/number/password
Offen
enhancement
library
- Vorherrschende Sprache
- TypeScript
- Sterne
- 9
- Forks
- 6
- Ø Merge
- 23 Std. 46 Min.
- Gemergte PRs (30 T.)
- 5
Beschreibung
`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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.