app/components/avo/fields/text_field/edit_component.html.erb in avo-2.16.0 vs app/components/avo/fields/text_field/edit_component.html.erb in avo-2.16.1.pre.1.nativefields
- old
+ new
@@ -1,6 +1,6 @@
-<%= edit_field_wrapper field: @field, index: @index, form: @form, resource: @resource, displayed_in_modal: @displayed_in_modal do %>
- <%= @form.text_field @field.id,
+<%= field_wrapper **field_wrapper_args do %>
+ <%= form.text_field @field.id,
class: classes("w-full"),
data: @field.get_html(:data, view: view, element: :input),
disabled: @field.is_readonly?,
placeholder: @field.placeholder,
style: @field.get_html(:style, view: view, element: :input)