fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: File name not displaying in Choose File field

File name not displaying in Choose File field 7 months 5 days ago #31338

  • 888Jay
  • 888Jay's Avatar
  • Offline
  • Junior Member
  • Posts: 35
  • Thank you received: 2
  • Karma: -1
Joomla! 3.10.0 Stable
Astroid Framework Version: 2.5.4
Template Version: 1.3.2

Greetings!
Since upgrading the site to Joomla 3.10, the Choose File fields on my form are not displaying the file name. The files are actually attaching and transmitted with the form. Just not showing in the box. If I hover a cursor over the Browse button, a tooltip with the filename appears.

Thanks in advance,
Jay

The administrator has disabled public write access.

File name not displaying in Choose File field 7 months 5 days ago #31340

  • akash
  • akash's Avatar
  • Offline
  • Moderator
  • Posts: 222
  • Thank you received: 30
  • Karma: 2
Hi Jay,

The field used on your website is coming from Bootstrap CSS Framework.

The upload field from Bootstrap doesn't show the file name. That's why it's happening.

Let me see if there's any fix for that. I'll let you know.

Thanks,
Akash
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: 888Jay

File name not displaying in Choose File field 7 months 5 days ago #31346

  • 888Jay
  • 888Jay's Avatar
  • Offline
  • Junior Member
  • Posts: 35
  • Thank you received: 2
  • Karma: -1
Hi Akash,

Thank you so much for looking into this for me. I recently updated the site to Astroid from an aging Gantry 4 framework so that may have triggered the problem.

In the meantime, I've added the following custom css in the Astroid Template Options panel as a temporary fix:
.custom-file-input {opacity:100;}
.custom-file-label {display:none;}



Best Regards,
Jay
The administrator has disabled public write access.

File name not displaying in Choose File field 7 months 4 days ago #31347

  • akash
  • akash's Avatar
  • Offline
  • Moderator
  • Posts: 222
  • Thank you received: 30
  • Karma: 2
Hi Jay,

This is a great and minimal solution but hides the bootstrap styling altogether.

A bit of JS is needed to get it to work. Have a look here if you can implement it directly else we'll be releasing this in the next update.

Thanks,
Akash
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

File name not displaying in Choose File field 7 months 4 days ago #31348

  • akash
  • akash's Avatar
  • Offline
  • Moderator
  • Posts: 222
  • Thank you received: 30
  • Karma: 2
Hi Jay,

This is a great and minimal solution but hides the bootstrap styling altogether.

A bit of JS is needed to get it to work. Have a look here if you can implement it directly else we'll be releasing this in the next update.

Thanks,
Akash
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: 888Jay

File name not displaying in Choose File field 7 months 4 days ago #31356

  • 888Jay
  • 888Jay's Avatar
  • Offline
  • Junior Member
  • Posts: 35
  • Thank you received: 2
  • Karma: -1
Akash,

Thank you again, and I'll look forward to the next update!

Best,
Jay
The administrator has disabled public write access.
Moderators: akash, chandandeep
Time to create page: 0.448 seconds
Cron Job Starts