Skip to content

[Types] Form onSubmit is mandatory on every package after latest release #237

@plushdohn

Description

@plushdohn

The PR that fixed #219 inadvertently seems to have made the onSubmit prop in the Form component mandatory on every package.

Here's a repro with Solid
https://stackblitz.com/edit/modular-forms-solid-phgga2?file=src%2Froutes%2Flogin.tsx

Screenshot 2024-08-09 at 18 06 44

I was also able to repro on the Preact package so I guess it's the same for all (since the fix for #219 was applied everywhere)

The bug goes away when reverting to 0.22.0 instead of using the latest 0.22.1.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions