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
See that no data is shown (despite form submission did work)
Versions
Volto 16.23.0
Plone 6.0.6
volto-form-block 3.1.0
@eeacms/volto-accordion-block 10.3.0
collective.volto.formsupport 2.7.0
Reason
Sidebar.jsx (which toggles the requests) refers to a prop called properties, which does not contain the expected data when forms exists within an accordion block. In that case the relevant info is in metadata instead of properties.
Proposed fix
If metadata is present in props of Edit component, pass it as properties to Sidebar component (see #74).
The text was updated successfully, but these errors were encountered:
What?
Requests for actions
getFormData
andclearFormData
are not fired in edit mode as intended when a form exists within an accordion.Steps to reproduce
Versions
Reason
Sidebar.jsx
(which toggles the requests) refers to a prop calledproperties
, which does not contain the expected data when forms exists within an accordion block. In that case the relevant info is inmetadata
instead ofproperties
.Proposed fix
If
metadata
is present in props of Edit component, pass it asproperties
to Sidebar component (see #74).The text was updated successfully, but these errors were encountered: