Klaus
August 2, 2024, 10:22am
1
I have the simple RadzenMask below, but unfortunately the two-way binding doesn't work. What am I doing wrong?
<RadzenMask Mask="()- ***" CharacterPattern="[0-9]" Placeholder="(000)-000 000" Name="Phone"
@bind-Value="@obj.Phone " @bind-Value :event="oninput"
Style="width: 100%;" />
Klaus
August 2, 2024, 10:59am
2
Even when I use Change it doesn't work.
<RadzenMask Mask="()- ***" CharacterPattern="[0-9]" Placeholder="(000)-000 000" Name="Phone"
@bind-Value="@obj.Phone "
Style="width: 100%;" Change="@DoChange " />
private Task DoChange(string arg)
{
throw new NotImplementedException();
}
Probably your application doesn't interactivity enabled. Check the getting started instructions .
Klaus
August 2, 2024, 12:45pm
4
No, that's not the problem, it works with other components. I also found that change works, but not the two-way bing. I would like to be able to track the change with each key press.