app/components/avo/fields/file_field/edit_component.html.erb in avo-2.16.0 vs app/components/avo/fields/file_field/edit_component.html.erb in avo-2.16.1.pre.1.nativefields
- old
+ new
@@ -1,5 +1,5 @@
-<%= edit_field_wrapper field: @field, index: @index, form: @form, resource: @resource, displayed_in_modal: @displayed_in_modal do %>
+<%= field_wrapper **field_wrapper_args do %>
<% if @field.value.present? %>
<div class="mb-2">
<%= render Avo::Fields::Common::SingleFileViewerComponent.new resource: @resource, field: @field %>
</div>
<% end %>