AbsaOSS / AbsaOSS/cps-shared-ui
InputComponent - expand type beyond text/number/password
Ouverte
enhancement
library
- Langage dominant
- TypeScript
- Étoiles
- 9
- Forks
- 6
- Merge moyen
- 23 h 46 min
- PR mergées (30 j)
- 5
Description
`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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.