I need to hook the onchange event of an element on a custom shape.
When I put the following code and precompile it using LaravelMix, I get an error when displaying the chart.
Is there any way to solve this problem?
$(".flow-selector").on(‘change’, function () {
alert($(this).val());
});
This is the known problem. You may workaround it assigning the event handlers after the diagram initialization.
Like: https://snippet.dhtmlx.com/66mnu374