Skip to content

890708: Textarea component documentation in Blazor #3084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2024
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
4 changes: 2 additions & 2 deletions ej2-asp-core-mvc/code-snippet/textarea/rows-cols/razor
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="control-section">
<div class="control_wrapper textarea-control-section">
<div>
@Html.EJS().TextArea("default1").Placeholder("Enter your comments").FloatLabelType(FloatLabelType.Auto).rowsCount(3).columnsCount(35).Render()
@Html.EJS().TextArea("default1").Placeholder("Enter your comments").FloatLabelType(FloatLabelType.Auto).Rows(3).Cols(35).Render()
</div>
<div>
@Html.EJS().TextArea("default2").Placeholder("Enter your comments").FloatLabelType(FloatLabelType.Auto).rowsCount(5).columnsCount(40).Render()
@Html.EJS().TextArea("default2").Placeholder("Enter your comments").FloatLabelType(FloatLabelType.Auto).Rows(5).Cols(40).Render()
</div>
</div>
</div>
4 changes: 2 additions & 2 deletions ej2-asp-core-mvc/code-snippet/textarea/rows-cols/tagHelper
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="control-section">
<div class="control_wrapper TextArea-control-section">
<div>
<ejs-textarea id="default1" placeholder="Enter your comments" floatLabelType="Auto" rowsCount="3" columnsCount="35"></ejs-textarea>
<ejs-textarea id="default1" placeholder="Enter your comments" floatLabelType="Auto" rows="3" cols="35"></ejs-textarea>
</div>
<div>
<ejs-textarea id="default2" placeholder="Enter your comments" floatLabelType="Auto" rowsCount="5" columnsCount="40"></ejs-textarea>
<ejs-textarea id="default2" placeholder="Enter your comments" floatLabelType="Auto" rows="5" cols="40"></ejs-textarea>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion ej2-asp-core-mvc/textarea/rows-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Two essential attributes, `rows` and `columns`, play a pivotal role in customizi
The `rows`attribute determines the initial visible number of lines within the TextArea, controlling its vertical size. Conversely, the `columns` attribute specifies the visible width of the TextArea in characters per line, determining its initial width.


* You can customize the TextArea control by setting the number of rows using the [RowsCount](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.TextArea.html#Syncfusion_EJ2_Inputs_TextArea_RowsCount) property and the number of columns using the [ColumnsCount](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.TextArea.html#Syncfusion_EJ2_Inputs_TextArea_ColumnsCount) property. These properties allow precise control over the dimensions of the TextArea, ensuring it fits seamlessly within the layout of the application.
* You can customize the TextArea control by setting the number of rows using the [Rows](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.TextArea.html#Syncfusion_EJ2_Inputs_TextArea_Rows) property and the number of columns using the [Cols](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.TextArea.html#Syncfusion_EJ2_Inputs_TextArea_Cols) property. These properties allow precise control over the dimensions of the TextArea, ensuring it fits seamlessly within the layout of the application.

{% if page.publishingplatform == "aspnet-core" %}

Expand Down