pub fn MultiActionForm<ServFn, OutputProtocol>(
props: MultiActionFormProps<ServFn, OutputProtocol>,
) -> impl IntoViewwhere
ServFn: Send + Sync + Clone + DeserializeOwned + ServerFn<Protocol = Http<PostUrl, OutputProtocol>> + 'static,
<ServFn as ServerFn>::Output: Send + Sync + 'static,
<<<ServFn as ServerFn>::Client as Client<<ServFn as ServerFn>::Error>>::Request as ClientReq<<ServFn as ServerFn>::Error>>::FormData: From<FormData>,
<ServFn as ServerFn>::Error: Send + Sync + 'static,
<ServFn as ServerFn>::Client: Client<<ServFn as ServerFn>::Error>,Expand description
Automatically turns a server MultiAction into an HTML
form
progressively enhanced to use client-side routing.
§Required Props
- action:
ServerMultiAction<ServFn>- The action from which to build the form.
- children:
Children- Component children; should include the HTML of the form elements.
§Optional Props
- node_ref:
NodeRef<Form>- A
NodeRefin which the<form>element should be stored.
- A