<%= edit_field_wrapper field: @field, index: @index, form: @form, resource: @resource, displayed_in_modal: @displayed_in_modal do %> <%= @form.select @field.id, @field.select_options, { selected: @field.value, include_blank: @field.include_blank }, aria: { placeholder: @field.placeholder }, class: classes("w-full"), data: @field.get_html(:data, view: view, element: :input), disabled: @field.is_readonly?, style: @field.get_html(:style, view: view, element: :input), placeholder: @field.include_blank.present? ? nil : @field.placeholder %> <% end %>