Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147507 | Sep 13,2019 07:23 AM UTC | Sep 18,2019 12:45 PM UTC | Blazor | 3 |
![]() |
Tags: TextBox |
@using Syncfusion.EJ2.Blazor.Inputs
<EjsTextBox CssClass="e-custom-height e-outline" Placeholder="Enter the Name"></EjsTextBox>
<style>
.e-custom-height {
height: 50px;
}
</style> |
<div>MultiLine TextBox</div>
<EjsTextBox Multiline="true" CssClass="e-outline" Placeholder="Enter the Name" HtmlAttributes="@htmlAttribute"></EjsTextBox>
@code{
private Dictionary<string, object> htmlAttribute = new Dictionary<string, object>()
{
{"rows", "2" }
};
} |
@using Syncfusion.EJ2.Blazor.Inputs
<EjsTextBox CssClass="e-custom-height e-outline" FloatLabelType="@FloatLabelType.Auto" Placeholder="Enter the Name"></EjsTextBox>
<div>MultiLine TextBox</div>
<EjsTextBox Multiline="true" CssClass="e-outline" Placeholder="Enter the Name" FloatLabelType="@FloatLabelType.Auto" HtmlAttributes="@htmlAttribute"></EjsTextBox>
<style>
.e-custom-height {
height: 50px;
}
.e-outline.e-float-input.e-control-wrapper:not(.e-valid-input).e-multi-line-input textarea:focus ~ label.e-float-text.e-label-top,
.e-outline.e-float-input.e-control-wrapper:not(.e-valid-input).e-multi-line-input textarea:focus ~ label.e-float-text.e-label-bottom {
line-height: 16.8px;
transition: color .2s, font-size .2s, line-height .2s;
}
</style>
@code{
private Dictionary<string, object> htmlAttribute = new Dictionary<string, object>()
{
{"rows", "2" }
};
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.