Skip to main content

form_widget

Function form_widget 

Source
pub fn form_widget(field: &Field) -> Result<String, FormError>
Expand description

Renders the field widget only (no label), with values and attributes escaped.

ยงErrors

Returns FormError::Transform when a field transformer rejects the model value.