Skip to content

how to initialize without a schema? #693

Description

@orefalo

I don't want to use a schema, I want my users to manually validate the form via a function()

yet, I want to leverage superform for all the rest, error handling, snapshot, timers in particular.

it would be great if a code like this could compile:

  form = superForm(defaults(),{
      onUpdate: ({ form, errors }) => onsubmit?.(form.data, errors),
      resetForm: false,
      SPA: true,
      validators: undefined,
    });

in the end, something intuitive, similar to the way HTML works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions