In the below code, the @onchange is not fired for a TextBox with the Multiline property set.
--
@page "/TextBoxMultiline"
@using Syncfusion.EJ2.Blazor
@using Syncfusion.EJ2.Blazor.Inputs
<div>
<dl class="row">
<dt class="col-sm-3 control-label">First Name</dt>
<dd class="col-sm-9">
<EjsTextBox Value="@Singleline"
@onchange="@((Microsoft.AspNetCore.Components.ChangeEventArgs args) => { Singleline = (string)args.Value; StateHasChanged(); } )">
</EjsTextBox>
<EjsTextBox Value="@Multiline"
Multiline="true"
@onchange="@((Microsoft.AspNetCore.Components.ChangeEventArgs args) => { Multiline = (string)args.Value; StateHasChanged(); } )">
</EjsTextBox>
</dd>
</dl>
<hr />
<div>
<h5>Values</h5>
Single: @Singleline<br />
Multi: @Multiline<br />
</div>
</div>
@code {
[Parameter()]
public string Singleline { get; set; } = "";
[Parameter()]
public string Multiline { get; set; } = "";
protected override async Task OnInitializedAsync()
{
await base.OnInitializedAsync();
Singleline = "This is a single line value.";
Multiline = "This is a multiline value.\r\nThis is a second line.";
}
}