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({