Skip to content

Conversation

@mununki
Copy link
Member

@mununki mununki commented Mar 19, 2025

  • Add new methods to useFormReturn: clearErrors, resetField, setError, setFocus, trigger, unregister
  • Expand validation options in register: maxLength, minLength, max, min, pattern
  • Add useFormContext hook and FormProvider module

Closes #17

mununki added 2 commits March 19, 2025 17:43
- Add new methods to useFormReturn
- Expand validation options in registerOptions: pattern, etc.
- Add useFormContext and FormProvider
@mununki mununki changed the title enhance form utility types and components Introduce useFormContext and FormProvider Mar 19, 2025
@mununki mununki changed the title Introduce useFormContext and FormProvider Introduce useFormContext and FormProvider Mar 19, 2025
@mununki mununki merged commit 188cfe4 into main Mar 19, 2025
7 checks passed
@mununki mununki deleted the use-form-context branch March 19, 2025 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introducing useFormContext API

2 participants