Sha256: cd5fcc9ea2d177c02d8ae7852e631e2047baa6cd3fdd3c776f6d8015ed2f766a

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 Bytes

Contents

<%= show_field_wrapper field: @field, index: @index do %>
  <div class="flex gap-1 items-center flex-wrap">
    <% @field.field_value.each do |item| %>
      <%= render Avo::Fields::TagsField::TagComponent.new(label: label_from_item(item)) %>
    <% end %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
avo-2.7.1.pre.1 app/components/avo/fields/tags_field/show_component.html.erb
avo-2.7.0 app/components/avo/fields/tags_field/show_component.html.erb
avo-2.6.1.pre.2 app/components/avo/fields/tags_field/show_component.html.erb
avo-2.6.1.pre.1 app/components/avo/fields/tags_field/show_component.html.erb
avo-2.6.0 app/components/avo/fields/tags_field/show_component.html.erb
avo-2.5.2.pre.7 app/components/avo/fields/tags_field/show_component.html.erb
avo-2.5.2.pre.2 app/components/avo/fields/tags_field/show_component.html.erb