In a blazor project I'm using the following DevExpress Blazor component:
<DxTextBox BindValueMode="BindValueMode.OnInput" TextChanged="(string val) => InputChanged(val)" />
When I'm using this component inside the of a DxGrid object, I've the following error:
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: DevExpress.Blazor.Internal.Editors.Models.TextBoxModel requires a value for the 'TextExpression' property. It is specified automatically when you use two-way binding('bind-Text').
In the following ticket I've read that the issue could be the missing @bind-Text:
but in my case I'm using TextChanged that already uses the @bind-Text attribute.
Could you try below way for
DxTextBox
component to include two-way binding with the@bind-Text
directive while still handling theTextChanged
event: