From 00e879e304b22efe0e75975f80e5c989c9a42199 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 22 Jul 2024 09:17:31 +0300 Subject: [PATCH] Fixed #6025 - InputMask: Passed props are not set --- packages/primevue/src/inputmask/InputMask.d.ts | 5 +++++ packages/primevue/src/inputmask/InputMask.vue | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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" />