Open
Description
Assuming I have the following setup:
form do |f|
f.inputs do
f.translated_inputs do |t|
t.input :title
end
f.translated_inputs do |t|
t.input :description
end
f.input :slug
end
f.actions
end
Now when I create a new entry. All translated values from the second translated_inputs
block will be discarded.
As soon as the record is saved once, it works. But not for the initial save.
I have to group all entries in one translated_inputs
block like so:
form do |f|
f.inputs do |x|
f.translated_inputs do |t|
t.input :title
t.input :description
end
f.input :slug
end
f.actions
end
I have quite a big model and the different translated values are grouped semantically. Due to this behaviour I now have to add a group just for the translated values.
Metadata
Metadata
Assignees
Labels
No labels