Posted in Dropzone with Shrine
How could you use ajax to submit exactly what would have been entered into the file field? https://medium.com/@stephendolan/rails-shrine-dropzonejs-f9d0944d17e3/gmail
You want to display a record in your index.html.erb depending on the drop-down option you choose. So, a method I've employed in the past is to have a table of all the users (without a drop-down menu) and a card on the side of the page that is fixed. When I click on a row in the table, the content of the card is updated. To obtain the value that was chosen from the dropdown, obtain the details of that data, and then display it, you would need to code js.