I am using Teams power app.
I have a combo control, whose properties are as below:
Default selected item :
For new entry it is ok. It gives me 3 row to select.
But while selection during the already saved old records shows me to select as below, it should not repeat as shown (InProgress showing twice
Please guide how to control it to
Dear Mr. Warren,
Good Morning and Thank you for your reply.
Its strange for me as well.
If error or issue, to happen all the time. not some time and some time not.
I suspect, that while developing I am switching to several screen in design mode , may be the reason.
If it will be on running mode only, hopefully will have no issue.
Some time get confused in this power app and get lost in between Power app for teams and Power app. standard,
And after several correspondence on the community posting come to know this is not there or for teams should be written another way. As have developed in MS Access application for more than 15 years with the VBA coding mainly for service/maintenance industry, never face such situations.
Thank you once again.
Very best regards.
@MIA27 ,
If this is the Items, how can there be a duplicate ?
ClearCollect(
PartsReturnStatus,
{ReturnStatus: "INITIAL"},
{ReturnStatus: "IN-PROGRESS"},
{ReturnStatus: "COMPLETED"}
);
Sorry I created the confusion, I will clarify in details:
The property are as below :
On Screen visible property, the collection code is there:
On Default selected item Property below code is there:
@MIA27 ,
Why are you using it for the DefaultSelectedItems ? You do not need to do this.
As I mentioned in my earlier post below is the collection which I am using. Also please note in my first post how I am using the Item and defaultSelectedItems :
@MIA27 ,
OK - I see it now - I think you need to look at the content of your PartsReturnStatus collection
You mean, What Is selected is going at the bottom, which is normal way of combo box.
Got Confused, as my My ClearCollect code and the sequence of the data to populate is as below:
@MIA27 ,
That is not a repeat - the top item is what you have selected and the bottom panel is all the available selections.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional