I’m trying to build a multi step form using ShapeDiver and I’d like to know if there is a way to get a callback when a node is selected to be able to customize the form.
I’m using this code to be able to select the nodes, but I can’t adapt the form to the selected node yet:
for (let i = 0; i < session.node.children.length; i++) {
session.node.children[i].data.push(
new InteractionData({ select: true })
);
}
Thank you for your time,
Raphaël