Skip to content

Commit

Permalink
feat(smart-action): user can add dynamically field with hook on smart…
Browse files Browse the repository at this point in the history
… action form (#742)

BREAKING CHANGE: fields parameters on hook function is no longer a map of field, it is now an array.
change hook is no longer choosen by the field name, field need to have hook defined inside it definition by addin a props hook.
  • Loading branch information
arnaud-moncel authored Jun 7, 2021
1 parent 7c91a0f commit 228bb42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@babel/runtime": "7.10.1",
"bluebird": "2.9.25",
"core-js": "3.6.5",
"forest-express": "9.0.0-beta.3",
"forest-express": "9.0.0-beta.5",
"http-errors": "1.6.1",
"lodash": "4.17.21",
"moment": "2.19.4",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4783,10 +4783,10 @@ for-in@^1.0.2:
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=

[email protected].3:
version "9.0.0-beta.3"
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-9.0.0-beta.3.tgz#6268cdbfb25b469e2d4a2651621e3855ad2834a2"
integrity sha512-8Jb8fpm9xr2VP4W9OUMSf7riDkMBA/Oa1BtoGkK3QSzOf6u85eBTfXfn/gsr6NK/1/gNdhiIRob7witdki0klg==
[email protected].5:
version "9.0.0-beta.5"
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-9.0.0-beta.5.tgz#8dd0be3577c8a999536c09ab801b85c989aeab04"
integrity sha512-3qjSD+elJbJAkicnR3GQZlWLO5tDPGR9dtodUkL4fRlCScr7qa0s3f5G7ion/tJ9fcd8ko5df2b68Is2AYm5Hw==
dependencies:
"@babel/runtime" "7.10.1"
base32-encode "1.1.1"
Expand Down

0 comments on commit 228bb42

Please sign in to comment.