Change value on the basis of dropdown items

hi, I have a dropdown which has two values Apple and Potato and I have two Radio buttons  Fruits and vegetables. So when i select Apple from the dropdown I want that Radio button of Fruits to be Automatically selected or if a select Potato from the dropdown Radio button of vegetable should be automatically selected. If anyone has any idea how to do this ?  
1 answers
  • Add an onclick event to the dropdown, which calls a microflow. This microflow has a parameter, which you can use to know which item is clicked
  • Based on the item, you can check the right radio button