summaryrefslogtreecommitdiff
path: root/src/views/AccessControl
diff options
context:
space:
mode:
authorDixsie Wolmers <dixsie@ibm.com>2020-07-28 01:50:43 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2020-08-18 17:49:09 +0300
commit5ea167820bb5f1cdfe4b501eb3c70daf1a3732d3 (patch)
tree036f5394be2aadd70db9c0d11db34fe37408e96b /src/views/AccessControl
parentdc3fa2e0382145126101dc6df04d0338a119824f (diff)
downloadwebui-vue-5ea167820bb5f1cdfe4b501eb3c70daf1a3732d3.tar.xz
Add form input field validation icons
Updates form validation to match updated style guide: - Datepicker and password toggle form field padding adjusted to accomodate validation icons - Valid form validation icon is hidden - Adds carbon icons and enables validation icons in IBM environment Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I7edff1e9527ad2c2cfec236daacb83ad4864d785
Diffstat (limited to 'src/views/AccessControl')
-rw-r--r--src/views/AccessControl/Ldap/Ldap.vue1
-rw-r--r--src/views/AccessControl/LocalUserManagement/ModalUser.vue2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/views/AccessControl/Ldap/Ldap.vue b/src/views/AccessControl/Ldap/Ldap.vue
index 8bebed9c..618434b6 100644
--- a/src/views/AccessControl/Ldap/Ldap.vue
+++ b/src/views/AccessControl/Ldap/Ldap.vue
@@ -146,6 +146,7 @@
v-model="form.bindPassword"
type="password"
:state="getValidationState($v.form.bindPassword)"
+ class="form-control-with-button"
@change="$v.form.bindPassword.$touch()"
/>
<b-form-invalid-feedback role="alert">
diff --git a/src/views/AccessControl/LocalUserManagement/ModalUser.vue b/src/views/AccessControl/LocalUserManagement/ModalUser.vue
index 75961e34..7e6519d0 100644
--- a/src/views/AccessControl/LocalUserManagement/ModalUser.vue
+++ b/src/views/AccessControl/LocalUserManagement/ModalUser.vue
@@ -143,6 +143,7 @@
data-test-id="localUserManagement-input-password"
aria-describedby="password-help-block"
:state="getValidationState($v.form.password)"
+ class="form-control-with-button"
@input="$v.form.password.$touch()"
/>
<b-form-invalid-feedback role="alert">
@@ -178,6 +179,7 @@
data-test-id="localUserManagement-input-passwordConfirmation"
type="password"
:state="getValidationState($v.form.passwordConfirmation)"
+ class="form-control-with-button"
@input="$v.form.passwordConfirmation.$touch()"
/>
<b-form-invalid-feedback role="alert">