pydantic_form.Error

<pydantic_form.Error text: str | None class: str | None = None />

display an error for a field.

param text:

error message

param class:

css class for the node, defaults to fastlife.template_globals.Globals.ERROR_CLASS.