diff --git a/packages/primevue/src/inputmask/InputMask.d.ts b/packages/primevue/src/inputmask/InputMask.d.ts index 9bd4a0f76..24e370502 100755 --- a/packages/primevue/src/inputmask/InputMask.d.ts +++ b/packages/primevue/src/inputmask/InputMask.d.ts @@ -64,6 +64,11 @@ export interface InputMaskPassThroughOptions { * @see {@link InputTextPassThroughOptions} */ root?: InputTextPassThroughOptions; + /** + * Used to pass attributes to the InputText component. + * @see {@link InputTextPassThroughOptions} + */ + pcInputText?: InputTextPassThroughOptions; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/packages/primevue/src/inputmask/InputMask.vue b/packages/primevue/src/inputmask/InputMask.vue index de6f1fd8f..ca4d71338 100755 --- a/packages/primevue/src/inputmask/InputMask.vue +++ b/packages/primevue/src/inputmask/InputMask.vue @@ -15,13 +15,14 @@ @keydown="onKeyDown" @keypress="onKeyPress" @paste="onPaste" - :pt="ptmi('root', ptmParams)" + :pt="rootPTOptions" />