Form

Form component that manages form submission and applies internal state. Wraps form element and passes submission events to the provided handler.

<Form of={} onsubmit={}>children</Form>

Generics

Properties

Explanation

The Form component wraps a native HTML <form> element and provides form submission handling. It automatically prevents the default form submission behavior and calls the onsubmit handler when the form is submitted and validation succeeds.

The component uses the of prop to reference the form store and renders the children elements within the form. It also sets novalidate on the form element to disable browser validation, as Formisch handles validation internally.

Runes

Components

Methods

Contributors

Thanks to all the contributors who helped make this page better!

  • GitHub profile picture of @fabian-hiller

Partners

Thanks to our partners who support the project ideally and financially.

Sponsors

Thanks to our GitHub sponsors who support the project financially.

  • GitHub profile picture of @vasilii-kovalev
  • GitHub profile picture of @saturnonearth
  • GitHub profile picture of @ruiaraujo012
  • GitHub profile picture of @hyunbinseo
  • GitHub profile picture of @nickytonline
  • GitHub profile picture of @KubaJastrz
  • GitHub profile picture of @andrewmd5
  • GitHub profile picture of @Thanaen
  • GitHub profile picture of @caegdeveloper
  • GitHub profile picture of @bmoyroud
  • GitHub profile picture of @dslatkin