Skip to main content

parse_list

Function parse_list 

Source
pub fn parse_list<T: FormScalar>(
    key: &str,
    values: &FormValues,
) -> Result<Vec<T>, FieldError>
Expand description

Read the values a multiple choice posted, none when it posted nothing: what a record form’s parse reads a many-to-many field with.

§Errors

A value T refuses, or a key holding no list, under key.