RadzenFileInput generates error when canceled under certain conditions #1413

Open
opened 2026-01-29 17:53:21 +00:00 by claunia · 0 comments
Owner

Originally created by @dave-gcv on GitHub (Oct 1, 2024).

A browser console error is generated when using the RadzenFileInput under the following conditions. This is reproducable on the demo page :

https://blazor.radzen.com/fileinput

  • Select a file via the [choose] button - the file is attached as expected
  • Select the [choose] button again then click [cancel] on the dialog
  • Note the error in browser console

file-input-error

The error does not occur if the attached file is removed [X] before clicking [choose]

Originally created by @dave-gcv on GitHub (Oct 1, 2024). A browser console error is generated when using the RadzenFileInput under the following conditions. This is reproducable on the demo page : https://blazor.radzen.com/fileinput - Select a file via the [choose] button - the file is attached as expected - Select the [choose] button again then click [cancel] on the dialog - Note the error in browser console ![file-input-error](https://github.com/user-attachments/assets/8961d61d-e035-4d89-abcd-3803c2f3e3c4) The error does not occur if the attached file is removed [X] before clicking [choose]
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1413