文件类型字段显示文件字段下方的最大上载大小。 需要在joomla中删除它

I have created a field Mobile numbers upload file fieldin our joomla component. But it shows Maximum upload size value below the field while shows it in the view.

But this issue is only appear in joomla 3.7.2 before i used this same component in joomla 3.6.5 the field shows without that Max Upload size value. And this value is taken from Memory_size value in PHP.ini that is 100MB. But this value is too much for our process.

So that we don't want to show that value with that field. How can achieve this? i attached the screen shot of the field

Proceed step by step with the simple solution below:

  1. In your template creates the directory structure: your_template/html/layouts/joomla/form/field/
  2. Copy file layouts/joomla/form/field/file.php and paste in the your template in the final directory created
  3. Edit this file and comment or delete last line:

<?php echo JText::sprintf('JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT', $maxSize); ?>

Work fine in Joomla 3.8.2