Skip to main content

resolve_errors

Function resolve_errors 

Source
pub fn resolve_errors(spec: &mut Spec, errors: &HashMap<String, Vec<String>>)
Expand description

Populate validation errors onto any element whose props contain a "name" field (or "field" field) matching an error key.