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:
Justin Halsall
2026-04-01 12:00:00 +08:00
committed by GitHub
parent f2c5ab096e
commit b75140dc62
2 changed files with 2 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ export type MaskInputOptions = Partial<{
// unify textarea and select element with text input
textarea: boolean;
select: boolean;
password: boolean;
}>;
export type SlimDOMOptions = Partial<{

1
typings/types.d.ts vendored
View File

@@ -73,6 +73,7 @@ export declare type MaskInputOptions = Partial<{
week: boolean;
textarea: boolean;
select: boolean;
password: boolean;
}>;
export declare type SlimDOMOptions = Partial<{
script: boolean;