Disabled next in password screen
Fixes #10965 Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
parent
4f135292a5
commit
6fcb426a71
|
@ -27,7 +27,7 @@
|
|||
valid-form (confirm-password @password @confirm)
|
||||
on-submit (fn []
|
||||
(when (not processing?)
|
||||
(if valid-form
|
||||
(if (and valid-password valid-form)
|
||||
(do (reset! show-error false)
|
||||
(re-frame/dispatch [forward-action {:key-code @password}]))
|
||||
(reset! show-error true))))]
|
||||
|
@ -106,6 +106,7 @@
|
|||
:accessibility-label :onboarding-next-button
|
||||
:disabled (or (nil? @confirm)
|
||||
(not valid-password)
|
||||
(not valid-form)
|
||||
processing?)
|
||||
:type :secondary
|
||||
:after :main-icons/next}
|
||||
|
|
Loading…
Reference in New Issue