Skip to content

Commit 663a8dc

Browse files
authored
docs(textarea): Remove AutoSize from examples (#2639)
1 parent 859caa2 commit 663a8dc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

components/textarea/overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ The Telerik <a href ="https://www.telerik.com/blazor-ui/textarea" target="_blank
1515
## Creating Blazor TextArea
1616

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

2222
>caption Basic TextArea with two-way value binding
2323
2424
````CSHTML
2525
<TelerikTextArea @bind-Value="@TextAreaValue"
26-
AutoSize="true"
27-
MaxLength="200" />
26+
MaxLength="200"
27+
Rows="5" />
2828
2929
<p>TextArea value: @TextAreaValue</p>
3030

knowledge-base/editor-convert-to-plain-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ To export to another format, use the corresponding namespace and format provider
5757
5858
<p><TelerikButton OnClick="@ConvertValue">Convert to Plain Text</TelerikButton></p>
5959
60-
<TelerikTextArea @bind-Value="@PlainTxtValue" Width="100%" AutoSize="true" />
60+
<TelerikTextArea @bind-Value="@PlainTxtValue" Width="100%" Rows="5" />
6161
6262
@code {
6363

0 commit comments

Comments
 (0)