I’m not getting the onchange event to fire when using a TextAreaInput<T>
, the same way I do when using a TextInput<T>
blazor component.
This code works:
<TextInput
Value="@Model.Name"
ValueExpression="() => Model.Name"
@onchange="eventArgs => ValueUpdated(eventArgs)"
/>
This code does not:
<TextAreaInput
Value="@Model.Description"
ValueExpression="() => Model.Description"
@onchange="eventArgs => ValueUpdated(eventArgs)"
/>
I am expecting the event to fire once I leave the text area input.