Skip to main content

FieldError

Function FieldError 

Source
pub fn FieldError(props: FieldErrorProps) -> Element
Expand description

Renders pre-formatted field errors in an unstyled polite live region, one element per error.

The live region stays mounted while the field is valid, holding no children. A live region that enters the accessibility tree in the same update as its content is not announced reliably, so the region has to exist before the first error arrives.

This part can resolve metadata from Field Context, accept it explicitly, or run standalone.