%= edit_field_wrapper field: @field, index: @index, form: @form, resource: @resource, displayed_in_modal: @displayed_in_modal, full_width: true do %>
<%= @form.text_area @field.id,
class: helpers.input_classes('w-full js-has-simple-mde-editor', has_error: @field.model_errors.include?(@field.id)),
placeholder: @field.placeholder,
disabled: @field.readonly,
'data-simple-mde-target': 'element',
'data-component-options': @field.options.to_json,
'data-view': :edit
%>
<% end %>