79602251

Date: 2025-05-01 17:07:27
Score: 5
Natty:
Report link

I'm having the same problem with

<InputFile OnChange="LoadFile" />

My handler

private async Task LoadFile(InputFileChangeEventArgs e)
{
    throw new Exception();
}

is not throwing anything.

I also tried a "synchronous" handler which is not working either :


private void LoadFile(InputFileChangeEventArgs e)
{
    throw new Exception();
}

I want the exception to be handled by an ErrorBoundary but the one from the InputFile never gets there when the exception thrown by the Button clic does...

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (1):
Posted by: Spoc