Feature request for FileInput

Dear Radzen Team,

Is it possible to make an event for FileInput that is called before the download starts. For example to show the user a loading screen. To prevent the user from trying to re-select the file before the file is downloaded and the user must waited for completion.

Thank you for best components :+1:

Hi @Agefer,

FileInput component will not download anything. The component can select relatively small size files, will convert them to base64 string and the value will be submitted with a form.

1 Like

Dear @enchev,

Thank you. This is how I imagined this process. But it still remains a mystery that sometimes this process takes place instantly. And sometimes it has a big delay.

Now for the component has a size limit of 5MB by default. Even if use files up to 5 MB, then the time before the process is completed can be more than, for example, more than 10 seconds. At this time, the user tries to attach the file again without waiting.

If it were possible to make the button inactive at this time, it would be ideal.

As a suggestion only.