Skip to main content

map_references

Function map_references 

Source
pub async fn map_references(
    session: &mut Session,
    form: &Form,
    values: &FormValues,
) -> Result<FormValues, CommandError>
Expand description

values with every non-empty select value replaced by its option id, over one form-options fetch per source; the session sees no submit on failure.

§Errors

CommandError::Argument for an unknown or ambiguous value, or the server’s refusal of the fetch.