feat: support password type
This commit is contained in:
parent
1927b14b66
commit
158f817d5a
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
export class FormControl {
|
export class FormControl {
|
||||||
name: string;
|
name: string;
|
||||||
type?: 'text' | 'checkbox' | 'radio' = 'text'; // add more
|
type?: 'text' | 'checkbox' | 'radio' | 'password' = 'text'; // add more
|
||||||
value?: string | number | null | string[];
|
value?: string | number | null | string[];
|
||||||
label?: string;
|
label?: string;
|
||||||
labelPosition?: 'right' | 'left' = 'left';
|
labelPosition?: 'right' | 'left' = 'left';
|
||||||
|
|
Loading…
Reference in a new issue