user1877936
user1877936

Reputation: 363

Based on Radio button selection how to change drop choices in powerapps

I have a radio button and a dropdown where options of radio button: [Employee, Student]. How to change the values accordingly based on radio button selection. Onclick of Employee the drop down choices should be as[emp1,emp2,emp2] onclick of student the drop down choices should be as[stu1,stu2,stu2]

enter image description here

Upvotes: 1

Views: 1720

Answers (1)

marianr99
marianr99

Reputation: 146

Set the item of the dropdown to:

Switch(radioButton.Selected.Value,"Employee",["emp1","emp2"],"Student",["stu1","stu2"]...)

Upvotes: 3

Related Questions