Bug in fileupload component

A Score Level 1

Hi,

It looks like there's a bug in fileupload component. Try uploading an empty file. It will throw a validation message. Then try to upload any valid file. But the validation message still displays. Has anyone noticed this issue? I know the uploaded file will be in a temporary file until the form is submitted, but the validation message doesn't go even after uploading the valid file and stays until the form is submitted. This might confuse the end user.

 Discussion posts and replies are publicly visible