User tests: Successful: Unsuccessful:
Pull Request for Issue #19954
Media field does not allow to select files that are not images (PDF, ...)
|Category||⇒||Front End Plugins|
Code works as expected on Joomla! 4.0.0-alpha8-dev: https://gridx.joomla.com/
In my opinion media types refer to file, image, audio, video as well as the next practice.
Improvement for future reference in plugins/fields/media/params/media.xml
20: JNO could be extended for more clarity:
Also other extensions like .doc might be added with:
if((substr($path, -4) == '.pdf') || (substr($path, -4) == '.doc'))
(uploading works from backend).