Skip to content

Bump react-hook-form from 6.15.4 to 7.24.2 - #221

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/react-hook-form-7.24.2
Closed

Bump react-hook-form from 6.15.4 to 7.24.2#221
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/react-hook-form-7.24.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 20, 2022

Copy link
Copy Markdown
Contributor

Bumps react-hook-form from 6.15.4 to 7.24.2.

Release notes

Sourced from react-hook-form's releases.

Version 7.24.2

😰 close #7593 regression on fieldarray controller/useController unmount with unregister (#7596) 🥸 fix type issue with getFieldState and useController (#7574)

Version 7.24.1

🖨 fix #7571 cloneObject with setValue passed argument (#7572) 🦺 unstable _getFieldState API for retrieve field level state (#7475) 💻 fix build on Windows (#7532)

thanks to @​felixschorer

Version 7.24.0

🧠 close #6425 memorise useController prop: onChange onBlur and ref (#7526) 📛 related #7521 include name check with resetField (#7521) 🪝 close #7518 making value update before custom onChange (#7519) 🐞 fix #7256 setValue with shouldDirty and shouldTouch combine not update state correctly (#7508)

Version 7.23.0

Happy new year 2022!

💻 Feature/avoid omitting key name use field array (improve DX) (#7301)

const App = () => {
  const { control, register, handleSubmit } = useForm<FormValues>({
    defaultValues: {
      test: [{id: 'UUID5678', test: 'data' }] // id will be remained as it match default keyName
    }
  });
  const { fields, append } = useFieldArray({
    control,
    name: 'test',
  });
return (
<form>
{fields.map((field, index) => {
return <input key={field.id} {...register(test.${index}.test)} />;
})}
  &lt;button
    type={'button'}
    onClick={() =&gt; {
      append({
        id: 'UUID1234', // id value will be remained as it match default keyName
        test: '1234',
      });
    }}
  &gt;
    append
  &lt;/button&gt;

</tr></table>

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 6.15.4 to 7.24.2.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](react-hook-form/react-hook-form@v6.15.4...v7.24.2)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 20, 2022
@vercel

vercel Bot commented Jan 20, 2022

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mkotsollaris/facets-io/3mgvfspXoDhdCCstBSjNGBY2PNnA
✅ Preview: Failed

@dependabot @github

dependabot Bot commented on behalf of github Jan 24, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #223.

@dependabot dependabot Bot closed this Jan 24, 2022
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/react-hook-form-7.24.2 branch January 24, 2022 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants