Closed scottharvey closed 1 year ago
This allows you to pass in an accept value to the fields partial so you can specify the file types to be accepted by the file selector.
accept
fields
<%= render 'shared/actions/imports/fields', accept: "text/csv" %>
I'm not sure if there's a better way to do this. 🤔
This allows you to pass in an
accept
value to thefields
partial so you can specify the file types to be accepted by the file selector.<%= render 'shared/actions/imports/fields', accept: "text/csv" %>
I'm not sure if there's a better way to do this. 🤔