Closed kaimikael closed 6 years ago
I suppose we could just use the “accept” attribute on the file input. That should allow jpg/jpeg and png. This should keep other files being gray.
On 7 Feb 2018, at 18:24, Kai-Mikael Jää-Aro notifications@github.com wrote:
The Choose file… dialogue for adding images to activity items allows selecting video and audio files, even though they aren’t accepted. The
input
tag should be supplied with anaccept
attribute to prevent the user from attempting to upload invalid files.— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Yes, exactly.
The Choose file… dialogue for adding images to activity items allows selecting video and audio files, even though they aren’t accepted. The
input
tag should be supplied with anaccept
attribute to prevent the user from attempting to upload invalid files.