From a60230fb68fcc8e7c514c98d1717b85c82a1becb Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Wed, 23 Oct 2024 13:46:46 +0100 Subject: [PATCH] Update InputMask.d.ts --- packages/primevue/src/inputmask/InputMask.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/primevue/src/inputmask/InputMask.d.ts b/packages/primevue/src/inputmask/InputMask.d.ts index f61ab156e..06b769de3 100755 --- a/packages/primevue/src/inputmask/InputMask.d.ts +++ b/packages/primevue/src/inputmask/InputMask.d.ts @@ -107,6 +107,10 @@ export interface InputMaskProps { * Value of the component. */ modelValue?: string | undefined; + /** + * The default value for the input when not controlled by `modelValue`. + */ + defaultValue?: string | undefined; /** * Placeholder character in mask, default is underscore. * @defaultValue _ @@ -202,6 +206,11 @@ export interface InputMaskEmitsOptions { * @param {string} value - New value. */ 'update:modelValue'(value: string): void; + /** + * Emitted when the value changes in uncontrolled mode. + * @param {string} value - New value. + */ + 'value-change'(value: string): void; /** * Callback to invoke when the component receives focus. */