Skip to main content

Error


The Error element displays validation or system error messages within forms or UI sections in the Doctor App. It uses visual styles (e.g., red text) to draw attention to incorrect or missing inputs. Error elements are typically paired with mandatory or conditionally validated fields.

Properties

PropertyValueDescription
TypeErrorUI component type
GroupTextPart of the "Text" group in UI catalog
Identifier15Unique element ID
PreviewDisplays styled error message (see image)
ValueDoes not accept user input
MandatoryNot a data input field
ErrorYDesignated to represent error state
MinNot applicable
MaxLinesText can span multiple lines
Read-onlyAlways static, not user-editable
Text, IconYMay include error icon and label text
ListNot used as list item
ChildrenNot a container
EventNo triggered events
ShadeUses alert-style background when applicable

Usage Example

<ErrorMessage>
Please select a valid date before proceeding.
</ErrorMessage>

SDK Integration

The Error element appears in workflows that rely on validation or form submission, including appointment creation, charges, contact info, and VTP steps.

It does not map directly to a backend method but reflects frontend or schema-based validation feedback.


Example UI Placement

LevelReferenceTypeValueDescription
3error~{x}ErrorError textAppears below invalid input fields

Notes

  • Error messages display based on validation conditions.
  • Can be styled with consistent alert visuals (e.g., red text, icons).
  • Not interactive.