From f1a584fd2dc14de0c29abe8e44f642b20b427360 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Tue, 22 Oct 2024 09:47:22 +0100 Subject: [PATCH] Add form support to `Password` --- .../primevue/src/password/BasePassword.vue | 17 ++--------- packages/primevue/src/password/Password.vue | 30 ++++++++----------- .../src/password/style/PasswordStyle.js | 4 +-- 3 files changed, 16 insertions(+), 35 deletions(-) diff --git a/packages/primevue/src/password/BasePassword.vue b/packages/primevue/src/password/BasePassword.vue index f7c72b494..f8531fcb0 100644 --- a/packages/primevue/src/password/BasePassword.vue +++ b/packages/primevue/src/password/BasePassword.vue @@ -1,12 +1,11 @@ diff --git a/packages/primevue/src/password/style/PasswordStyle.js b/packages/primevue/src/password/style/PasswordStyle.js index cfbc9d919..85ea0a144 100644 --- a/packages/primevue/src/password/style/PasswordStyle.js +++ b/packages/primevue/src/password/style/PasswordStyle.js @@ -86,9 +86,9 @@ const classes = { root: ({ instance }) => [ 'p-password p-component p-inputwrapper', { - 'p-inputwrapper-filled': instance.filled, + 'p-inputwrapper-filled': instance.$filled, 'p-inputwrapper-focus': instance.focused, - 'p-password-fluid': instance.hasFluid + 'p-password-fluid': instance.$fluid } ], pcInputText: 'p-password-input',