diff --git a/src/core/form-control.ts b/src/core/form-control.ts index 3105548..d5351a6 100644 --- a/src/core/form-control.ts +++ b/src/core/form-control.ts @@ -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';