Further to the answer provided to this question regarding the appearance improvement of the file_field_tag, how can I replace the "Choose file" text with the filename after selection?
Asked
Active
Viewed 292 times
2
-
Have you tried to get the value of the field input HTML tag? I am pretty certain it returns the file name (or an object containing it). – MrYoshiji Jan 14 '19 at 18:51
-
That would probably require some js code, right? I have no idea how to do it. – kouroubel Jan 14 '19 at 19:22