This will eventually be the home of formz_builder
or formz_use
.
pub type FormItem(widget) {
Field(field.Field, widget: widget)
SubForm(subform.SubForm, items: List(FormItem(widget)))
}
Constructors
-
Field(field.Field, widget: widget)
-
SubForm(subform.SubForm, items: List(FormItem(widget)))