Skip to content

Improve Form Validation handling #1

@pmbanugo

Description

@pmbanugo

The forms currently only have basic client-side validation. The application should also do server-side validation, so that only valid data will be saved. It should ensure that:

  • required fields are submitted
  • the schedule value is properly checked based on the schedule type (e.g. cron expression or interval).
  • clear messaging for form validation errors.

This could be implemented in a simplistic way using epicweb-dev/invariant. An alternative is to use Conform and Valibot. The following guides by Kent Dodds shows how to use it in Remix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions