Skip to content

Commit

Permalink
feat: confirm password on Create Wallet screen (#210)
Browse files Browse the repository at this point in the history
* feat: add password confirmation on create screen

* fix: labels and feedback in create form according to figma

* test: verify password confirm validation message

* fix: remove unnecessary escape character

* fix: do not escape '-'

* refactor: comments and better name for escape function

* deps: add Formik form validation library

* refactor: use Formik for CreateWallet form validation

* refactor: remove 'isCreating' flag in favor of 'onFinished' callback

* test: adapt tests to be compatible with Formik

see jaredpalmer/formik#1543
  • Loading branch information
theborakompanioni authored Apr 7, 2022
1 parent 33b35f7 commit 0c019db
Show file tree
Hide file tree
Showing 5 changed files with 298 additions and 100 deletions.
127 changes: 125 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"bootstrap": "^5.1.3",
"buffer": "^6.0.3",
"conventional-changelog": "^3.1.25",
"formik": "^2.2.9",
"http-proxy-middleware": "^2.0.4",
"husky": "^7.0.4",
"i18next": "^21.6.14",
Expand Down
Loading

0 comments on commit 0c019db

Please sign in to comment.