-
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
enhancementNew feature or requestNew feature or request
Description
... and potentially fix #61, #62, and #64 along the way.
I think the hook version of this library could be broken up into two parts: various hooks for fields and a hook for the form itself
A field hook would have the following things:
- a validator
- an optional debouncer (not all require this)
- an optional default value (i.e. fix Cannot create forms with file uploads:
Filedoes not have anEqorInitialtype class instance #61) - two variants: one for single-elements and another for multi-elements (i.e. fix Provide better ergonomics for nested forms / array of fields #62) where one debouncer is used for each one (i.e. fix Multiple async form fields share one debouncer, causing interference #64), but the same validation and default value would be used across all of them
I'm not sure what a form hook would have as I can't recall all the things this library provides.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request