pub fn render_form_with(
f: &mut Frame<'_>,
area: Rect,
state: &FormState,
style: &FormStyle,
errors: &[(String, String)],
theme: &Theme,
)Expand description
Render a form with explicit style options and per-field errors.
errors is a slice of (field_id, message) pairs. A given error is
rendered only if field_id is in state.touched — so newly-opened
fields do not flash errors before the user has a chance to type.