MemoEdit

The MemoEdit component renders a multi-line text area for Dataverse memo (multi-line text) columns.

<MemoEdit ColumnName="description" />

Rows

Set Rows to control the visible height of the text area. The default is determined by the column metadata.

<MemoEdit ColumnName="description" Rows="10" />

Length Constraints

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

Here is an example that demonstrates the use of a MemoEdit component.

Example

MemoEdit (Extended Properties)

This demonstrates the most common properties that are availabe to set on the MemoEdit.

Example
Readonly? Required? Disabled?

MemoEdit Class

Parameters

Name
Type
Default
Description
ChildContentRenderFragment?
Child content of the component
ColumnNamestring
Column logical name to bind the editor to from the table record.
Descriptionstring?
Description to be displayed in the tooltip.
Disabledbool?
Should the editor be disabled.
DisplayLabelWhenAvailablebool
True
Specifies whether to display a lable if available.
DisplayTooltipWhenAvailablebool
True
Specifies whether to display a tooltip if available.
DisplayValidationErrorMessagebool
True
Should a validation error message be displayed when the component fails validation?
IsVisiblebool
True
Is the editor visible.
Labelstring?
Text to be displayed as a label for the editor.
MaxLengthint?
Max length of the allowable string.
MinLengthint?
Max length of the allowable string.
ReadOnlybool?
Should the editor be read-only.
Requiredbool?
Should the value be required.
Rowsint?
Number of text rows that the control should display.
Valuestring?
Gets or sets the editor's current value as a plain string.
Name: ChildContent
Type: RenderFragment?
Description: Child content of the component
Name: ColumnName
Type: string
Description: Column logical name to bind the editor to from the table record.
Name: Description
Type: string?
Description: Description to be displayed in the tooltip.
Name: Disabled
Type: bool?
Description: Should the editor be disabled.
Name: DisplayLabelWhenAvailable
Type: bool
Default: True
Description: Specifies whether to display a lable if available.
Name: DisplayTooltipWhenAvailable
Type: bool
Default: True
Description: Specifies whether to display a tooltip if available.
Name: DisplayValidationErrorMessage
Type: bool
Default: True
Description: Should a validation error message be displayed when the component fails validation?
Name: IsVisible
Type: bool
Default: True
Description: Is the editor visible.
Name: Label
Type: string?
Description: Text to be displayed as a label for the editor.
Name: MaxLength
Type: int?
Description: Max length of the allowable string.
Name: MinLength
Type: int?
Description: Max length of the allowable string.
Name: ReadOnly
Type: bool?
Description: Should the editor be read-only.
Name: Required
Type: bool?
Description: Should the value be required.
Name: Rows
Type: int?
Description: Number of text rows that the control should display.
Name: Value
Type: string?
Description: Gets or sets the editor's current value as a plain string.

Events

Name
Type
Description
ValueChangedEventCallback<ColumnValueBase>
Gets or sets a callback that updates the bound value.
Name: ValueChanged
Type: EventCallback<ColumnValueBase>
Description: Gets or sets a callback that updates the bound value.

Methods

Name
Parameters
Type
Description
GetValidationErrorsList<string>
Returns validation errors for the current value, including min/max length violations.
Name: GetValidationErrors
Type: List<string>
Description: Returns validation errors for the current value, including min/max length violations.