Documentation / @zerotal/flow / index / Errors
Function: Errors()
Errors(
props?):HtmlNode
Defined in: flow/src/components.ts:465
A reactive validation-error summary — a role="alert" list that stays hidden until
the component has errors, then shows the current messages.
Parameters
props?
ErrorsProps = {}
Returns
Remarks
only limits the summary to one or more named fields (a string or array of field
names); omit it to show every error.
Example
<Errors />
<Errors only={["email", "password"]} />