I have a button and when I click it I want a modal to pop up. My understanding is that there should be a onClick trigger on a button that I can wire up to execute a workflow: my worflow would do whatever is necessary to show the modal.
The problem is that I cannot find anything on my button that allows me to wire up the onClick?
When you click the element the far right tab in the editor is for workflows add on and you can select what it’s for on click ECT. Take a look at the weweb academy good place to learn some of the basics like this.
So I select my button and on the right workflow tab I click “New”. When I do that nothing happens.
In the console I can see an error when I press “New”:
TypeError: undefined is not an object (evaluating ‘this.triggerOptions.find’)
addWorkflow — index.c4bca102.js:1264:174082
d — chunk-vendors.052158eb.js:381:1465
h — chunk-vendors.052158eb.js:381:1540
en — chunk-vendors.052158eb.js:383:30330
d — chunk-vendors.052158eb.js:381:1465
h — chunk-vendors.052158eb.js:381:1540
i — chunk-vendors.052158eb.js:118:8694