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. */