Skip to main content

report_invalid

Function report_invalid 

Source
pub fn report_invalid(
    headers: &HeaderMap,
    form: &Form,
    form_html: String,
    shown: &[(String, String)],
    editor: Editor<'_>,
) -> Result<Response, WebError>
Expand description

The refused report: the form replaces itself on a loaded table, but a page that loads the table has no form yet, so it gets the form inside its own filters wrapper, which also carries the shown table and chart controls the corrected submit must not lose.