Skip to main content

FormLabel

Function FormLabel 

Source
pub fn FormLabel(props: FormLabelProps) -> Element
Available on crate feature dio only.
Expand description

Renders an accessible <label> linked to a form field.

When nested inside Control, it automatically reads error, disabled, focused, required, and color from ControlContext.