createForm proposal - #321
Tanner-Scadden wants to merge 4 commits into
Conversation
Tanner-Scadden
commented
Feb 15, 2023
- exports a createForm primitive
- Uses lodash.set to handle nested sets
- Uses zod to do schema validations
- Returns a handleSubmit function to put onto a form
- returns data gathered in the form. Converts number values to numbers for ease of use.
- If there is an error from the validation, returns the zod errors & form data for debugging.
…a, and uses zod for validation
|
|
@thetarnav Let me know what else needs to be done for this proposal! |
|
Hey! This has grown a bit old and with the new Solid2 release we have new primitives to account for. I'm going to close this in favour of a new PR that has been pushed for 2.0 release. |