feat: support password type

This commit is contained in:
Ayo 2022-10-01 13:08:16 +02:00
parent 1927b14b66
commit 158f817d5a

View file

@ -1,6 +1,6 @@
export class FormControl {
name: string;
type?: 'text' | 'checkbox' | 'radio' = 'text'; // add more
type?: 'text' | 'checkbox' | 'radio' | 'password' = 'text'; // add more
value?: string | number | null | string[];
label?: string;
labelPosition?: 'right' | 'left' = 'left';