Skip to main content

resolve_errors_all

Function resolve_errors_all 

Source
pub fn resolve_errors_all(
    view: &mut JsonUiView,
    errors: &HashMap<String, Vec<String>>,
)
Expand description

Walk the component tree and set all validation error messages (joined with ". ") on each matching form field component.

Same precedence rule: existing errors are not overwritten.