Closed (fixed)
Project:
iToggle
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Jul 2012 at 18:38 UTC
Updated:
15 Oct 2013 at 12:22 UTC
Jump to comment: Most recent file
Settings not persisted when in edit form. This is probably the same fix as for the FieldGroup module...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1678332-2-Improved-compatiblity-with-nested-forms.patch | 1.17 KB | DeFr |
Comments
Comment #1
kong commentedAlso when I tried to "Add another item" with Field Collection containing an iToggle widget, the toggle stopped working.
Comment #2
DeFr commentedI needed iToggle to work with nested forms for a customer projet (using Inline Entity Form) so I've worked a bit on this, which should help all the modules that embeds a subform (IEF, Field Collection, …)
I think that patch is a step in the right direction, fix the problem completely with Inline Entity Form and makes the JS widget update the correct checkbox for Field Collection.
Specifically for Field Collection though, there's a few other problems that will need to be dealt with:
Comment #3
alexweber commentedThanks! Fixed: http://drupalcode.org/project/itoggle.git/commit/1a1fb43
Let's open further issues as follow-ups... Ideally i'd like to refactor iToggle to be a native Form API element and that would solve a lot of problems but I just don't have time to work on it at the moment...