Displaying File Names for Multi-File Inputs with Stimulus
The HTML file input shows “n files selected” when multiple files chosen. Here’s how Stimulus can be used (with or without Rails) to turn that into a list of file names for a better UX https://danielabaron.me/blog/displaying-file-names-for-multi-file-inputs-with-stimulus/
Post a comment