The Error component enables you to display an error message to React components.
The following example shows how to set up the Error component:
- Add the Error component after the desired editor.
- Set the
idproperty of the Error and the
aria-describedbyproperty of the editor.
The Error is part of the KendoReact Labels component library. The procedures for installing, importing, and using the Labels are identical for all components in the package. To learn how to use the Error and the rest of the Labels, see the Getting Started with the KendoReact Labels guide.
- Text Direction—You can change the Error component text direction.