From 158f817d5a8f811d77879aa55613a4930b8cb9d0 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 1 Oct 2022 13:08:16 +0200 Subject: [PATCH] feat: support password type --- src/core/form-control.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';