Skip to content

Commit 0bb95f1

Browse files
authored
Allow password to be maskable instead of ignorable (#65)
* Add password to maskInputOptions on types * Add password on maskInputOptions to types definition
1 parent 362359e commit 0bb95f1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export type MaskInputOptions = Partial<{
9191
// unify textarea and select element with text input
9292
textarea: boolean;
9393
select: boolean;
94+
password: boolean;
9495
}>;
9596

9697
export type SlimDOMOptions = Partial<{

typings/types.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export declare type MaskInputOptions = Partial<{
7373
week: boolean;
7474
textarea: boolean;
7575
select: boolean;
76+
password: boolean;
7677
}>;
7778
export declare type SlimDOMOptions = Partial<{
7879
script: boolean;

0 commit comments

Comments
 (0)