You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by nv...@apache.org on 2022/03/15 11:15:28 UTC
[cloudstack] branch main updated: fixes form.getFieldValue is not a function (#6110)
This is an automated email from the ASF dual-hosted git repository.
nvazquez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 56bf418 fixes form.getFieldValue is not a function (#6110)
56bf418 is described below
commit 56bf418185ad7e4d8fea9c02e09fd45502bb8e55
Author: Hoang Nguyen <ho...@unitech.vn>
AuthorDate: Tue Mar 15 18:14:55 2022 +0700
fixes form.getFieldValue is not a function (#6110)
---
ui/src/views/iam/ChangeUserPassword.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/views/iam/ChangeUserPassword.vue b/ui/src/views/iam/ChangeUserPassword.vue
index 8748104..f37b65a 100644
--- a/ui/src/views/iam/ChangeUserPassword.vue
+++ b/ui/src/views/iam/ChangeUserPassword.vue
@@ -111,7 +111,7 @@ export default {
} else if (rule.field === 'confirmpassword') {
const form = this.form
const messageConfirm = this.$t('message.validate.equalto')
- const passwordVal = form.getFieldValue('password')
+ const passwordVal = form.password
if (passwordVal && passwordVal !== value) {
return Promise.reject(messageConfirm)
} else {