Skip to main content

without_sub_fields

Function without_sub_fields 

Source
pub fn without_sub_fields(
    fields: &[FieldDef],
    form: &FormInput,
    paths: &BTreeSet<String>,
) -> FormInput
Expand description

form without the sub-fields at paths (dotted value paths, such as fields.0.choices or content.0.data.style) in the JSON values of the structured fields of fields, as if the form had not sent them. Paths that are not dotted are ignored.