Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information