Allow password to be maskable instead of ignorable (#65)
* Add password to maskInputOptions on types * Add password on maskInputOptions to types definition
This commit is contained in:
@@ -91,6 +91,7 @@ export type MaskInputOptions = Partial<{
|
|||||||
// unify textarea and select element with text input
|
// unify textarea and select element with text input
|
||||||
textarea: boolean;
|
textarea: boolean;
|
||||||
select: boolean;
|
select: boolean;
|
||||||
|
password: boolean;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type SlimDOMOptions = Partial<{
|
export type SlimDOMOptions = Partial<{
|
||||||
|
|||||||
1
typings/types.d.ts
vendored
1
typings/types.d.ts
vendored
@@ -73,6 +73,7 @@ export declare type MaskInputOptions = Partial<{
|
|||||||
week: boolean;
|
week: boolean;
|
||||||
textarea: boolean;
|
textarea: boolean;
|
||||||
select: boolean;
|
select: boolean;
|
||||||
|
password: boolean;
|
||||||
}>;
|
}>;
|
||||||
export declare type SlimDOMOptions = Partial<{
|
export declare type SlimDOMOptions = Partial<{
|
||||||
script: boolean;
|
script: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user