Closed roma219 closed 5 years ago
Why is the button blocked? Something wrong with some data in inputs? In which one? Or there is a bug? Not clear at all.
We need to improve this.
Use vuelidate: https://monterail.github.io/vuelidate Read through it carefully - it has everything that is needed.
Choose the right validators for each field: required, sameAs & create your own validator for regexp and checking the old password.
required
sameAs
Generate error messages based on each field's validators valid state & display underneath the field.
Also: 1) Make CHANGE PASSWORD dropdown item disabled for non-wallet user types instead of doing in created callback and showing a flash message
CHANGE PASSWORD
created
Why is the button blocked? Something wrong with some data in inputs? In which one? Or there is a bug? Not clear at all.
We need to improve this.
Use vuelidate: https://monterail.github.io/vuelidate Read through it carefully - it has everything that is needed.
Choose the right validators for each field:
required
,sameAs
& create your own validator for regexp and checking the old password.Generate error messages based on each field's validators valid state & display underneath the field.
Also: 1) Make
CHANGE PASSWORD
dropdown item disabled for non-wallet user types instead of doing increated
callback and showing a flash message