You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Blazor] - Issue calling submitRequest on data-enhanced form
Co-authored-by: Adit Sheth <[email protected]>
Fixes#58244
This PR fixes an issue where calling requestSubmit on a form with the data-enhance attribute caused an uncaught TypeError due to accessing a member on a null event.submitter.
The change replaces the non-null assertion operator (!) with the optional chaining operator (?) to properly handle cases where event.submitter is null.
0 commit comments