-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nested Form Fields Rendered Twice in 1.2.0 Release #119
Comments
Thansk for the report, I'll have a look 👍 |
How does it look with |
Apologies, typo - we are locked and using I updated the issue info above. |
What about activeadmin |
The issue exists in all the following configurations:
The issue does not exist with:
It very much appears to have been introduced and present in both the arbre RC1 and final versions. I'll see if I can get a demo repo setup and shared to reproduce. |
Here is a link to a reproduction repo, the https://github.com/madebylotus/arbre-regression-1.2.0-example |
Nice, thanks so much @macfanatic! |
Run a bisection over you app and the culprit seems #64. |
After upgrading to the latest
activeadmin
andarbre
, we realized that our nested form fields are being duplicated in our templates.activeadmin 1.3.1
arbre 1.2.0
rails 5.2.3
ruby 2.3.6
Example form for ActiveAdmin resource:
We end up with the
semantic_fields_for
rendering double the amount of rows, a whole group and then the entire collection again a second time.Leaving
activeadmin
andrails
locked to the versions mentioned above, but downgrading toarbre
version1.1.1
(the previous release) fixes the issue.The text was updated successfully, but these errors were encountered: