Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
148094 | Oct 4,2019 08:51 PM UTC | Oct 7,2019 11:15 AM UTC | Blazor | 1 |
![]() |
Tags: TextBox |
[index.razor]
<EjsTextBox Value="@Multiline"
Multiline="true"
ValueChange="@multiLineChange">
</EjsTextBox>
@code {
[Parameter()]
public string Multiline { get; set; } = "";
protected override async Task OnInitializedAsync()
{
await base.OnInitializedAsync();
Multiline = "This is a multiline value.\r\nThis is a second line.";
}
void multiLineChange(Syncfusion.EJ2.Blazor.Inputs.ChangedEventArgs args)
{
this.Multiline = args.Value;
StateHasChanged();
}
} |
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.