app/components/avo/fields/file_field/edit_component.html.erb in avo-2.10.2 vs app/components/avo/fields/file_field/edit_component.html.erb in avo-2.10.3.pre.1
- old
+ new
@@ -5,9 +5,10 @@
</div>
<% end %>
<% if @resource.authorization.authorize_action(:upload_attachments?, raise_exception: false) %>
<%= @form.file_field @field.id,
+ accept: @field.accept,
data: @field.get_html(:data, view: view, element: :input),
direct_upload: @field.direct_upload,
disabled: @field.readonly,
style: @field.get_html(:style, view: view, element: :input)
%>