Derives forms from structs. This derive macro provides a way of generating [`Form`](leptos_router::Form) components and configuring their styling and behavior. It creates a struct of signals, one per field, where each signal which contains the appropriate html type (essentially [`String`], although specialized behavior is provided for collections). Upon form submission, the values in the form are all parsed back into the type this macro is derived on and then submitted to the suitable endpoint / server function. Note that serde integration is not completed, so in order for graceful degradation to work the deriving type must not change the serialized names of any of its fields. See an [extended example](#example) below. # Struct attributes | Attribute | Description | Type | Optional | |-------------|--------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------|----------| | component | Derive a component for this type using [`leptos::component`] | [component](#component-attributes) | Y | | error | Specify error rendering behavior which will be used as a default for all fields; defaults to `default` | [error handler](#error-handler-attributes) | Y | | field_class | Class property set on the wrapping element for each field by default | string | Y | | groups | A list of all groups within the form | list\<[container](#container-attributes)\> | Y | | id | `id` property set on the wrapping \