The setup: you have a file field which allows only .txt files.

Steps to reproduce: Click "Upload" before you choose a file, then click choose a file, and choose a .jpg file. Nothing happens. There should be an error message that comes up explaining that a .jpg file is not valid for this field.

Comments

crazybutable’s picture

Version: 7.22 » 8.x-dev

I tested this in 7.x, but needs verification that this is still a bug in 8.x.

swentel’s picture

Version: 8.0.x-dev » 7.x-dev
Issue summary: View changes
Related issues: +#2587755: AJAX error when using progress bar on file field widget

Can't reproduce this on 8.x - there is a different error (after you 'unhide' the upload button because it's hidden by default), but that will be fixed by #2587755: AJAX error when using progress bar on file field widget

David_Rothstein’s picture