Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid exception by possible undefined event #11139

Open
wants to merge 72 commits into
base: master
Choose a base branch
from

Commits on Nov 4, 2023

  1. Configuration menu
    Copy the full SHA
    d628534 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    989d0cb View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. Configuration menu
    Copy the full SHA
    355082b View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. Configuration menu
    Copy the full SHA
    70bf141 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. 🐞 fix react-hook-form#11218 useFieldArray focus issue with rules pr…

    …op (react-hook-form#11221)
    
    * 🐞 fix react-hook-form#11218 useFieldArray focus issue with rules prop
    
    * fix issue with not focus
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    964c76e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    626a2a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1763831 View commit details
    Browse the repository at this point in the history
  4. 📮 fix(react-hook-form#11239): Set fields disabled state based on form…

    … and field disabled (react-hook-form#11241)
    
    * fix(react-hook-form#11239): Set fields disabled state based on form and field disabled prop
    
    * fix(react-hook-form#11239): If-check and unit test
    
    * Update createFormControl.ts
    
    ---------
    
    Co-authored-by: Thomas De Bock <thomas.de.bock@persgroep.net>
    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    3 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    fc76251 View commit details
    Browse the repository at this point in the history
  5. ⌨️ change type structure of UseFormHandleSubmit (react-hook-form#11245

    )
    
    * Change signature of UseFormHandleSubmit
    
    * add api-extractor report
    mildfuzz authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    27bb083 View commit details
    Browse the repository at this point in the history
  6. 🔧 refactor(util function): Enhance Consistency in Utility Functions: …

    …Standardizing Export, Function Types, and Naming (react-hook-form#11268)
    
    * refactor: Matching get and set util conventions
    
    - obj => object
    - set util change arrow function
    
    * refactor: change sleep util
    
    - change arrow function
    - change export to export default
    - The import of the file that uses the function has been modified.
    
    * refactor: change deepMerge util
    
    - change export to export default
    - The import of the file that uses the function has been modified.
    
    * refactor: api-extractor.md
    
    - The changed get function argument is reflected in the report
    
    * refactor: change arrow function
    
    * Revert "refactor: api-extractor.md"
    
    This reverts commit e5ff061.
    
    * fix: api-extractor.md build
    
    * Revert "fix: api-extractor.md build"
    
    This reverts commit d64ec64.
    
    * fix: check api-extractor build error
    Lennon57 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    fefb8ec View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    79467da View commit details
    Browse the repository at this point in the history
  8. 7.49.0

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    466ff32 View commit details
    Browse the repository at this point in the history
  9. 🥼 update changelog v7.49.0

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    664a635 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    88c8168 View commit details
    Browse the repository at this point in the history
  11. 🐞 fix react-hook-form#11287 disabled prop cause const dirtyFields upd…

    …ate (react-hook-form#11291)
    
    * 🐞 fix react-hook-form#11287 disabled prop cause const dirtyFields update
    
    * fix issue with test
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    1f3ef46 View commit details
    Browse the repository at this point in the history
  12. 🩺 add test for disabled form field submit (react-hook-form#11288)

    * add test for disabled form field submit
    
    * fix lint
    
    ---------
    
    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    c120a8e View commit details
    Browse the repository at this point in the history
  13. 🩺 add broken test for useController (react-hook-form#11290)

    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    7b10982 View commit details
    Browse the repository at this point in the history
  14. 7.49.1

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    c60158b View commit details
    Browse the repository at this point in the history
  15. 🐞 fix react-hook-form#11292 issue with controller validation prop (re…

    …act-hook-form#11294)
    
    * fix react-hook-form#11292 issue with controller valdiation prop
    
    * remove log
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    87093f6 View commit details
    Browse the repository at this point in the history
  16. 🩺 add broken test for useController (react-hook-form#11293)

    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    d7cf9a7 View commit details
    Browse the repository at this point in the history
  17. 7.49.2

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    bd1a036 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0f66ca0 View commit details
    Browse the repository at this point in the history
  19. 🖨️ fix: Change DeepPartial type definition to be compatible with `u…

    …nknown` (react-hook-form#11333)
    
    * fix: DeepPartial type definition
    
    * fix: api-extractor build
    RulerOfCakes authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    808927f View commit details
    Browse the repository at this point in the history
  20. 🐛 fix(useController): check if disabled state was set by user (react-…

    …hook-form#11353)
    
    * 🐛 fix(useController): check if disabled state was set by user
    
    Closes: react-hook-form#11320
    
    * ✅ test(useController): disabled state is not overriden if not set
    
    Related: react-hook-form#11320
    
    * 🎨 style(useController): format whitespaces
    
    * 🐛 fix(useController): set disabled state if passed to controller
    
    * ✅ test(useController): should respect disabled state on controller
    
    * 🎨 style: run prettier
    Moshyfawn authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    a0e0df7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    7fceba6 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    8d9621d View commit details
    Browse the repository at this point in the history
  23. 7.49.3

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    4f1514b View commit details
    Browse the repository at this point in the history
  24. 🐞 fix react-hook-form#11374: Nested deep partial with unknown (react-…

    …hook-form#11373)
    
    * fix: Nested deep partial with unknown
    
    * reset editor files
    
    * added api extractor
    jonahallibone authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    51703c1 View commit details
    Browse the repository at this point in the history
  25. 🐞 fix react-hook-form#11368 keep form state mounted when keeping valu…

    …es (react-hook-form#11384)
    
    * fix react-hook-form#11368 keep form state mounted when keeping values
    
    * fix logic condition
    
    * update unit tests
    
    * remove only
    
    * improve unit test
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    4398902 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    be4941c View commit details
    Browse the repository at this point in the history
  27. ⌨️ fix react-hook-form#10734 watch and useWatch without parameters re…

    …turn type (react-hook-form#11359)
    
    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    6269046 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    8e2e507 View commit details
    Browse the repository at this point in the history
  29. 🐞 close react-hook-form#11246 skip root validation on action when mod…

    …e and revalidate mode is onSubmit (react-hook-form#11395)
    
    * 🐞 close react-hook-form#11246 skip root validation on action when mode and revalidatemode is onSubmit
    
    * fix lint error
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    d450591 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    88d4f6c View commit details
    Browse the repository at this point in the history
  31. ⌨️ fix: change DeepPartial to account for object union types & `unk…

    …nown` (react-hook-form#11385)
    
    * feat: extract objects from DeepPartial check
    
    * chore: api-extractor
    
    * fix: api-extractor build
    
    ---------
    
    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    930f311 View commit details
    Browse the repository at this point in the history
  32. 💫 feat(useForm): leave formState flags in a consistent state when thr…

    …owing in handleSubmit onValid (react-hook-form#11214)
    
    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    346c64a View commit details
    Browse the repository at this point in the history
  33. 🏷️ improve CustomElement type (react-hook-form#11309)

    * 🏷️ improve CustomElement type
    
    * 🏷️ Change HTMLElement to Partial
    
    * 📝 fix api-extractor
    
    ---------
    
    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    0e2bbf7 View commit details
    Browse the repository at this point in the history
  34. 🐞 fixes react-hook-form#11386 get new dirtyFields when reset keeping …

    …defaults and dirty values (react-hook-form#11401)
    
    * Add test
    
    * Get newly-dirty fields when keeping defaults and dirty values
    IanVS authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    b365739 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    66ab562 View commit details
    Browse the repository at this point in the history
  36. 🔧 fix data param in handleSubmit when TTransformedValues is a union t…

    …ype (react-hook-form#11420)
    
    * Rewritten UseFormHandleSubmit to use default values in generics
    
    * Updated api-extractor report
    
    ---------
    
    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    691b599 View commit details
    Browse the repository at this point in the history
  37. 7.50.0

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    4ed1d6e View commit details
    Browse the repository at this point in the history
  38. ✅ chore: add noop Utils Function (react-hook-form#11455)

    * feat: Add Noop Util Function
    
    * test: Add Noop Test Code
    
    * fix: Fixed TestCode
    ssi02014 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    26d56d8 View commit details
    Browse the repository at this point in the history
  39. Revert "⌨️ fix react-hook-form#10734 watch and useWatch without param…

    …eters return type (react-hook-form#11359)"
    
    This reverts commit fdbadbb.
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    facd4f9 View commit details
    Browse the repository at this point in the history
  40. 7.50.1

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    fa0a171 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    9b7a830 View commit details
    Browse the repository at this point in the history
  42. 🧽 chore: removed unused utils and resp. test cases (react-hook-form#1…

    …1476)
    
    * Removed unused utils and resp. test cases
    
    * remove unused functions
    
    * added removed code
    
    ---------
    
    Co-authored-by: deep.golani <deep.golani@bfhl.in>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    6acc8ba View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    1829f10 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    c978296 View commit details
    Browse the repository at this point in the history
  45. 🤡 fix flush root render hack (react-hook-form#11521)

    * 🤡 fix flush root render hack
    
    * fix preitter issue
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    f33fe7a View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    5e7afa2 View commit details
    Browse the repository at this point in the history
  47. 😾 fix react-hook-form#11514 issue under strict mode reset invoke twic…

    …e reset mounted field names with keepDirtyValues (react-hook-form#11546)
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    54f7560 View commit details
    Browse the repository at this point in the history
  48. 💬 add isValidating and validatingFields to field state (react-hoo…

    …k-form#10657)
    
    * Add isValidating to field state
    
    * Fix type tests for isValidating field state
    
    * Adjust bundlewatch maxSize
    
    * Fix api-extractor.md merge fail
    
    * Adjust formState validatingFields property
    
    * Adjust bundlewatch maxSize
    
    * Refactoring for isValidating fieldState
    
    * Fix multi async validators behavior
    
    * Remove unnecessary explicit type definition in isValidating test
    
    * Improve _updateIsValidating method
    
    * Add proxyFormState check to updateIsValidating method
    
    ---------
    
    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    08d73e7 View commit details
    Browse the repository at this point in the history
  49. 💅 related react-hook-form#11541 improve dirty check when undefined

    …provided with `reset` api
    
    * related react-hook-form#11541 improve dirty check when undefined provided with reset api
    
    * early exit when no values provided
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    4750a08 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    aa60025 View commit details
    Browse the repository at this point in the history
  51. ⌨️ chore: replace ts-ignore with ts-expect-error (react-hook-form#11573)

    * chore: replace ts-ignore with ts-expect-error
    
    * chore: replace ts-ignore with ts-expect-error
    
    ---------
    
    Co-authored-by: deep.golani <deep.golani@bfhl.in>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    df0790c View commit details
    Browse the repository at this point in the history
  52. 7.51.0

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    f97873c View commit details
    Browse the repository at this point in the history
  53. 🥼 update changelog v7.51.0

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    07d19ec View commit details
    Browse the repository at this point in the history
  54. 🐞 fix react-hook-form#11590 issue with trigger on validatingFields (r…

    …eact-hook-form#11613)
    
    * 🐞 fix react-hook-form#11590 issue with trigger on validatingFields
    
    * fix unit tests and lint error
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    68c44da View commit details
    Browse the repository at this point in the history
  55. 💚 ci: cleanup actions versions (react-hook-form#11629)

    * 💚 ci(Node): bump node action version
    
    * 💚 ci(Issues): bump lock issue action version
    Moshyfawn authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    e96a6c9 View commit details
    Browse the repository at this point in the history
  56. 🐛 bug(validatingFields, trigger): handle all fields validation trigger (

    react-hook-form#11624)
    
    * WIP 🐛 bug(validatingFields, trigger): handle all fields validation trigger
    
    * 🔧 chore: update lock file
    
    * 🐛 bug(validatingFields, trigger): handle all fields validation trigger
    
    * 🔧 chore: remove todo comment
    
    * fix react-hook-form#11621 issue with undefined name as field name
    
    * fix lint
    
    * revert change on trigger
    
    ---------
    
    Co-authored-by: bill <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    a2f08c7 View commit details
    Browse the repository at this point in the history
  57. 7.51.1

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    c64b9d0 View commit details
    Browse the repository at this point in the history
  58. fix react-hook-form#11719 validation stuck on true state (react-hook-…

    …form#11723)
    
    * fix react-hook-form#11719 validation stuck on true state
    
    * fix tests
    
    * fix test
    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    b088eae View commit details
    Browse the repository at this point in the history
  59. 7.51.2

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    4d241bc View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    6552332 View commit details
    Browse the repository at this point in the history
  61. 7.51.3

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    ce24d15 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    e706532 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    7e0e987 View commit details
    Browse the repository at this point in the history
  64. 7.51.4

    bluebill1049 authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    912b47b View commit details
    Browse the repository at this point in the history
  65. 📖 fix broken link to examples in README.md (react-hook-form#11805)

    Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
    2 people authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    85c9982 View commit details
    Browse the repository at this point in the history
  66. ⌨️ close: correct type of error field in getFieldState return obj…

    …ect (react-hook-form#11831)
    
    * fix: correct type of `error` field in `getFieldState` return object
    
    * fix: update reports
    cj-young authored and rafaelcalhau committed May 5, 2024
    Configuration menu
    Copy the full SHA
    f948cf5 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    f5db6f7 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    ba5ce47 View commit details
    Browse the repository at this point in the history