<%= 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, prompt: @field.placeholder }, class: classes("w-full"), data: @field.get_html(:data, view: view, element: :input), disabled: @field.readonly, placeholder: @field.placeholder, style: @field.get_html(:style, view: view, element: :input) %> <% end %>