type is currently limited to 'text' | 'number' | 'password':
|
@Input() type: 'text' | 'number' | 'password' = 'text'; |
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.
typeis currently limited to'text' | 'number' | 'password':cps-shared-ui/projects/cps-ui-kit/src/lib/components/cps-input/cps-input.component.ts
Line 92 in fac3d6c
We should also allow
email,tel,url, andsearchso 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.