You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a complex z3c.form-base Plone controlpanel and I'm finding an issue deleting 2nd level subitems
In two words: I've a main interface IConfiguration1, one of its fields (let say field1 is a tuple of a value_typeIConfiguration2.
This is a know situations that already worked in a lot of other cases: z3c.form display a subform where you can add/edit/remove submitems.
This time in the IConfiguration2 I've another tuple field (field2) composed by items of type IConfiguration3.
I never done a so complex form before (and probably is not a good idea)... however: it works normally, I can add 2nd level subitems, edit them, but I can't delete.
When I try to delete one item from the field2 set, the UI will reloads the same page with the item still there; the only difference is the selection checkbox I checked before is now disabled.
The only way that works is to delete the super-item (one of the field1 values) and re-add all.
Apart of that: all works normally.
The text was updated successfully, but these errors were encountered:
Originated from https://community.plone.org/t/z3c-form-deleting-subitems-in-a-very-complex-form/906
I'm working on a complex z3c.form-base Plone controlpanel and I'm finding an issue deleting 2nd level subitems
In two words: I've a main interface
IConfiguration1
, one of its fields (let sayfield1
is a tuple of avalue_type
IConfiguration2
.This is a know situations that already worked in a lot of other cases: z3c.form display a subform where you can add/edit/remove submitems.
This time in the
IConfiguration2
I've another tuple field (field2
) composed by items of typeIConfiguration3
.I never done a so complex form before (and probably is not a good idea)... however: it works normally, I can add 2nd level subitems, edit them, but I can't delete.
When I try to delete one item from the
field2
set, the UI will reloads the same page with the item still there; the only difference is the selection checkbox I checked before is now disabled.The only way that works is to delete the super-item (one of the
field1
values) and re-add all.Apart of that: all works normally.
The text was updated successfully, but these errors were encountered: