The MemoEdit component renders a multi-line text area for Dataverse memo (multi-line text) columns.
<MemoEdit columnName="description" /><MemoEdit ColumnName="description" />Set Rows to control the visible height of the text area. The default is determined by the column metadata.
<MemoEdit columnName="description" rows={10} /><MemoEdit ColumnName="description" Rows="10" />Use MinLength and MaxLength to enforce text length constraints. MaxLength is automatically populated from the column metadata if not explicitly set.
<MemoEdit columnName="description" minLength={10} maxLength={2000} /><MemoEdit ColumnName="description" MinLength="10" MaxLength="2000" />A basic MemoEdit bound to a memo column.
Use the controls below to explore the available properties.
Name | Type | Default | Description |
|---|---|---|---|
ChildContent | RenderFragment? | Child content of the component | |
ColumnName* | string | Column logical name to bind the editor to from the table record. | |
Description | string? | Description to be displayed in the tooltip. | |
Disabled | bool? | Should the editor be disabled. | |
DisplayLabelWhenAvailable | bool | True | Specifies whether to display a lable if available. |
DisplayTooltipWhenAvailable | bool | True | Specifies whether to display a tooltip if available. |
DisplayValidationErrorMessage | bool | True | Should a validation error message be displayed when the component fails validation? |
IsVisible | bool | True | Is the editor visible. |
Label | string? | Text to be displayed as a label for the editor. | |
MaxLength | int? | Max length of the allowable string. | |
MinLength | int? | Max length of the allowable string. | |
ReadOnly | bool? | Should the editor be read-only. | |
Required | bool? | Should the value be required. | |
Rows | int? | Number of text rows that the control should display. | |
Value | string? | Gets or sets the editor's current value as a plain string. |
ChildContentColumnName*DescriptionDisabledDisplayLabelWhenAvailableDisplayTooltipWhenAvailableDisplayValidationErrorMessageIsVisibleLabelMaxLengthMinLengthReadOnlyRequiredRowsValueName | Type | Description |
|---|---|---|
ValueChanged | EventCallback<ColumnValueBase> | Gets or sets a callback that updates the bound value. |
ValueChangedName | Parameters | Type | Description |
|---|---|---|---|
GetValidationErrors | List<string> | Returns validation errors for the current value, including min/max length violations. |
GetValidationErrors