Skip to main content

build_form_model

Function build_form_model 

Source
pub fn build_form_model(tree: &FieldTree) -> Vec<FormFieldModel>
Expand description

Build the editor-facing model from a parsed field tree.

Logical fields are tree nodes that carry (or inherit) a field type and have no named children: a radio group whose kids are unnamed widgets is ONE logical field; a container with named children contributes its children, not itself.