collective / collective.volto.formsupport

Enable support for customizable forms in Volto
GNU General Public License v2.0
2 stars 8 forks source link

Modify the submit handler to allow blocks-inside-blocks #23

Closed erral closed 11 months ago

erral commented 1 year ago

Currently the form submit endpoint checks if a block is really in the context, but to check that it only takes into account the blocks attribute of the context, meaning that if you have a block inside another block (for instance in a column, or a grid), the check will fail and the form can't be submitted.

@gorkafernandez

mbarde commented 1 year ago

Should be fixed via: https://github.com/collective/collective.volto.formsupport/pull/29