I am having a strange issue with a dropdown.
The dropdown filters results based on what the user has selected in another dropdown. Depending on the selection the dropdown might have no results, one result or multiple results.
I have a onSelect method configured which allows the user to just click the dropdown in a one result scenario.
I have a onChange method configured that calls when the user selects from a dropdown with multiple results.
The issue is that if the dropdown has more than one result the only way to select the first result is to first select another list item and then change back to the first item.
Anyone know why I am getting this behaviour?
Kind Regards
Jon
Hi @Jonfarmer4999 ,
Do you mean that the first choice of dropdown can't be selected if items have multiple choices, unless first to select other choices?
Which control do you use? Combo box or DropDown list?
Can you share more properties and formulas of Dropdown? Such as Defaults, Items, OnSelect, OnChange properties.
It is a really weird issue. Maybe you can have a try with new dropdown to check if the issue still remains.
If is, please post more formulas what would be more helpful to check out this issue.
Best regards,
Sik
Hi @v-siky-msft
Yes that is correct. It is a dropdown
Items: Filter(Opportunities,_customerid_value = Dropdown2.Selected, statecode='Status (Opportunities)'.'0')
Defaults: "1"
onSelect: If(CountRows(Filter(Opportunities,_customerid_value = Dropdown2.Selected, statecode='Status (Opportunities)'.'0')) = 1, Navigate(Screen1,ScreenTransition.CoverRight,{ID: Dropdown1.Selected}))
onChange: Navigate(Screen1,ScreenTransition.CoverRight,{ID: Dropdown1.Selected})
I can't work out why I am getting this behaviour.
Thanks
Jon
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
209 | |
194 | |
82 | |
58 | |
38 |
User | Count |
---|---|
303 | |
249 | |
120 | |
83 | |
55 |