Sabo
06/01/2023, 3:33 PMfield_container
with an attribut serialized as an Array if it's possible ?
In admin side (admin/products/:product/edit) I have
<div data-hook="admin_product_form_tags">
<%= f.label :tags %>
<%= f.field_container :tags do %>
<%= f.text_field :tags, class: 'fullwidth title', multiple: true %>
<% end %>
</div>
Technically it's working, but I get something like ["tag1 tag2 tag3"]
where I would have something like ["tag1", "tag2", "tag3"]
Sabo
06/02/2023, 8:19 PMfields_for
of ActionView:Helpers:FormHelper :)
https://www.ombulabs.com/blog/learning/rails/nested-forms.html