Memo component

Basic Memo

MemoEdit is used to create multiline text input (textarea).

<MemoEdit Rows="5" />

Usage

With bind attribute

By using bind-* attribute the text will be automatically assigned to the member variable.

<MemoEdit bind-Text="@description" />

@code{
    string description;
}

With event

When using the event TextChanged, you also must define the Text value attribute.

<MemoEdit Text="@description" TextChanged="@OnDescriptionChanged" />

@code{
    string description;

    void OnDescriptionChanged( string value )
    {
        description = value;
    }
}