asp.net core - Using autocomplete to fill a Blazor form doesn't update the variables - Stack Overflow

admin2025-04-29  1

In my .NET 8 Blazor application, I have a simple form. The browser suggested the last input to me. If I select the last used data, like in the following screenshot

The variables are not always filled with values. If I press the button "Submit", sometimes the validation fails because the fields are required.

Do you have an idea why or how to fix this issue?

转载请注明原文地址:http://anycun.com/QandA/1745935237a91340.html