Skip to main content

Edit


Edit fields allow users to enter or modify text-based input. These fields support validation, character limits, and event tracking. Use Edit elements for notes, labels, or free-text fields where precise content entry is required.

Edit input field with label and border

Properties

PropertyValueDescription
TypeEditUI component type
GroupFieldBelongs to the "Field" group in UI catalog
Identifier12Unique element ID
PreviewSee image preview above
ValueYAccepts typed input
MandatoryYRequired in relevant contexts
ErrorYSupports inline validation and error messages
MinNo minimum constraint defined
MaxCharsSupports maximum character length
Read-onlyYCan appear in non-editable mode
Text, IconYSupports label text or icon prefix
EventYTriggers on change or blur
ShadeYIncludes visual background styling
ChildrenNo nested fields
ListNot a list container

Usage Example

<Input type="text" label="Charge for" placeholder="Enter service name" maxLength={100} required />

SDK Integration

The Charge Summary screen uses this element. It connects to the SDK method:

Method: /profile/appointments/{id}/summary/charge

Enables entry and update of financial charges for a completed appointment. Fields include editable notes and metadata.


Example UI Placement

LevelIDTypeValueDescription
1charge-infoEditCharge forDescribes purpose of the charge
1charge-notesEditNotesCustom explanation or instructions

Notes

  • Use for typed input such as labels, messages, or descriptions.
  • Apply validation and max length to avoid overflow or truncation.
  • When used with financial or sensitive data, trigger validation events early.