WinForms blazor login sytem
I'm doing a project in windowsforms with blazor in C#, the objective is to create a login system, I have the database already connected and the implementation of blazor with winforms is already done, it's giving me an error in the program class, I think which could be due to my check that I made between the program and the database in the login layout to confirm whether the user and password are correct or incorrect, the error I am facing is this: InvalidOperationException: Microsoft.AspNetCore.Components. Forms.InputText requires a value for the 'ValueExpression' parameter. Normally this is provided automatically when using 'bind-Value'.
The code and the error is in the images
6 Replies
have u tried googling the error? the first result seems very similar to yours
send me the link please
Stack Overflow
InputText requires a value for the 'ValueExpression' parameter
I want to be able to render a form with Blazor (Server Side Rendering) but I am not getting the right syntax.
<EditForm Model="@Model" OnValidSubmit="@SubmitValidForm">...
I did what was in stakoverFlow and now I have this other error: InvalidOperationException: Error: No element is currently associated with component 1
and have u tried googling for it
yes