How to pass value from custom dropdown widget to a microflow

Hi, I have built a custom dropdown widget using react. I would like to pass the selected dropdown value to a microflow. Is there a way to do this?I tried adding a returnType property in my xml. But it doesn't work. Please help.
1 answers

try adding on change event to the widget you created using react by so that you can hook your desired microflow to the on change event.