From b75140dc62374b3a31714924a26a1fd80683a62a Mon Sep 17 00:00:00 2001 From: Justin Halsall Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] Allow password to be maskable instead of ignorable (#65) * Add password to maskInputOptions on types * Add password on maskInputOptions to types definition --- src/types.ts | 1 + typings/types.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/types.ts b/src/types.ts index b38a4778..0a3d2ce2 100644 --- a/src/types.ts +++ b/src/types.ts @@ -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<{ diff --git a/typings/types.d.ts b/typings/types.d.ts index f9394a39..c43cccbe 100644 --- a/typings/types.d.ts +++ b/typings/types.d.ts @@ -73,6 +73,7 @@ export declare type MaskInputOptions = Partial<{ week: boolean; textarea: boolean; select: boolean; + password: boolean; }>; export declare type SlimDOMOptions = Partial<{ script: boolean;