Skip to content

Migrate form handling to modular-forms #702

Open
@origranot

Description

@origranot

Description

Our current forms, such as the one used in the LinkModal component, manage form state and validation explicitly. Each form element has its state managed through useSignal, and validation is performed using the zod schema within the globalAction$.

With modular-forms, we could abstract away much of the repetitive code and streamline our form processes. The library offers a structured approach to handling form state, validation, and submission, which could significantly reduce boilerplate and make our forms more maintainable.

Screenshots

No response

Additional information

https://modularforms.dev/qwik/guides/introduction

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions