MuiTextView#

@palmyralabs/rt-forms-mui · form/MuiTextView.tsx

Overview#

Read-only text display — the view-mode counterpart to MuiTextField. Renders a plain <span> instead of a text input; useful for detail screens where you still want the field to participate in the form contract.

Props — ITextFieldDefinition & TextViewAttributeDefinition#

Common field props plus:

Prop Type Purpose
prefix string? Text rendered before the value
suffix string? Text rendered after the value
pattern string? Optional format pattern applied to the value

Example#

<MuiTextView
  attribute="loginName"
  label="Email"
/>