Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions components/textarea/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ The Telerik <a href ="https://www.telerik.com/blazor-ui/textarea" target="_blank
## Creating Blazor TextArea

1. Add the `<TelerikTextArea>` tag to a Razor file.
2. Set the `Value` parameter to a `string` object. It supports one-way and two-way binding.
3. (optional) Set the `AutoSize` property to adjust the TextArea height based on the user input.
4. (optional) Set the `MaxLength ` property to control the maximum amount of characters that the user can type in the component.
1. Set the `Value` parameter to a `string` object. It supports one-way and two-way binding.
1. (optional) Set the `MaxLength ` property to control the maximum amount of characters that the user can type in the component.
1. (optional) Set the `Rows` property to adjust the TextArea height.

>caption Basic TextArea with two-way value binding

````CSHTML
<TelerikTextArea @bind-Value="@TextAreaValue"
AutoSize="true"
MaxLength="200" />
MaxLength="200"
Rows="5" />

<p>TextArea value: @TextAreaValue</p>

Expand Down
2 changes: 1 addition & 1 deletion knowledge-base/editor-convert-to-plain-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ To export to another format, use the corresponding namespace and format provider

<p><TelerikButton OnClick="@ConvertValue">Convert to Plain Text</TelerikButton></p>

<TelerikTextArea @bind-Value="@PlainTxtValue" Width="100%" AutoSize="true" />
<TelerikTextArea @bind-Value="@PlainTxtValue" Width="100%" Rows="5" />

@code {

Expand Down
Loading