From 00d37a2c6f1cd22622ab5b6f984d5937689e57a6 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 26 Jun 2024 12:46:45 +0300 Subject: [PATCH] Fixed #5956 - InputMask: FloatLabel defects --- packages/primevue/src/inputmask/style/InputMaskStyle.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/primevue/src/inputmask/style/InputMaskStyle.js b/packages/primevue/src/inputmask/style/InputMaskStyle.js index 450c08a70..5a0754a74 100644 --- a/packages/primevue/src/inputmask/style/InputMaskStyle.js +++ b/packages/primevue/src/inputmask/style/InputMaskStyle.js @@ -1,7 +1,12 @@ import BaseStyle from '@primevue/core/base/style'; const classes = { - root: 'p-inputmask' + root: ({ instance }) => [ + 'p-inputmask p-inputwrapper', + { + 'p-inputwrapper-filled': instance.filled + } + ] }; export default BaseStyle.extend({