Click here to Skip to main content
15,346,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Blazor form with 3 InputText
<InputText Id="FirstName" class="form-control"  @bind-Value="RegisterModel.FirstName"/>

<InputText Id="LastName" class="form-control"  @bind-Value="RegisterModel.LastName"/>

<InputText Id="FullName" class="form-control"  @bind-Value="RegisterModel.FullName"/>

What I need is when user type a letter in firstname or lastname, the full name value will reflect the changes. But if the user change the fullname the it will bind back to the model

What I have tried:

I have no idea how to start I tried to bind event but it didnt work
Posted
Comments
Gerry Schmitz 28-Jan-22 13:22pm
   
The only time I find that works is if you take complete control of the key board for those fields. It's called "incremental searching".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900