Sha256: 69541fd6f690e635df2b72fe91ca7fb9e3deb30c7c3ea7697d26bbb9f8d5a650
Contents?: true
Size: 681 Bytes
Versions: 18
Compression:
Stored size: 681 Bytes
Contents
<%= edit_field_wrapper field: @field, index: @index, form: @form, resource: @resource, displayed_in_modal: @displayed_in_modal do %> <%= @form.select @field.id, @field.options_for_select, { 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.readonly, style: @field.get_html(:style, view: view, element: :input), value: @field.model.present? ? @field.model[@field.id] : @field.value, placeholder: @field.include_blank.present? ? nil : @field.placeholder %> <% end %>
Version data entries
18 entries across 18 versions & 1 rubygems