Skip to content

Commit

Permalink
refactor form fields to enable usage with react-hook-form (#1656)
Browse files Browse the repository at this point in the history
React Hook Form is a library that makes working with forms easier and reduces boilerplate. For it to be used in our project, some of the form fields had to be adjusted.
  • Loading branch information
Pilopa committed May 14, 2021
1 parent 7286a62 commit 640a270
Show file tree
Hide file tree
Showing 21 changed files with 1,961 additions and 341 deletions.
2 changes: 2 additions & 0 deletions gradle/changelog/react_hook_form.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- type: added
description: Add support for react-hook-form ([#1656](https://github.com/scm-manager/scm-manager/pull/1656))
1 change: 1 addition & 0 deletions scm-ui/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"react": "^17.0.1",
"react-diff-view": "^2.4.1",
"react-dom": "^17.0.1",
"react-hook-form": "^7.5.1",
"react-i18next": "^10.13.1",
"react-router-dom": "^5.1.2",
"react-select": "^2.1.2",
Expand Down

0 comments on commit 640a270

Please sign in to comment.