I have 2 components on the same page, an Input Field and a Search Button.
I added a complex flow to the component Tap event of the search button and it works as expected.
I would also like this search to be performed when the onBlur event of the input field is triggered.
I added a Receive Event to the logic of the search button and named it “do_search”. When I add a Trigger Event to the logic of the input field the “Triggered Event” menu in the “Trigger Event” properties is empty so I am unable to select the event that I wish to trigger.
When I add a “Receive Event” to the logic of the same component OR to the logic of the containing page itself I am able to trigger the “Receive Event”?
Doesn’t Trigger / Receive Event work between components contained on the same page?
Hi, if you want the same event to be triggered from multiple components on the same page you can:
Drag a new “Receive event” node onto the page’s logic canvas and give it a name under “Advanced”, here “My Event”
Trigger this event from the components
Thanks for your reply!
I’ve been doing exactly what you suggested but the “Triggered event” pulldown menu doesn’t show the “Receive event” added and named in the buttons’ logic canvas.
In the following example I’ve created 2 buttons
I then added a “My Event” listener to Button2
In Button1 I add a “Trigger event” like so:
When I select the “Trigger Event” and click the “Triggered event” menu in the properties there is nothing to select in the menu.
Hi, components don’t have access to each other’s events, just those that are included in the page logic. Can you achieve what you’re trying to do by adding the listener to the page’s logic canvas instead of the Button’s logic canvas, and then executing the logic after that?
There is also a “Tap component” flow in the marketplace that you can use to execute “Tap component” on another component, maybe that could be useful for you.
Hi, sorry for overlooking the last part of your first message! The references displaying flow function IDs after copy-paste to another canvas is a known issue.
Can you please point me to the relevant bug report for the copy & paste issue? I’ve tried searching the “Bug reports” section but couldn’t find this issue.