cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resolver I
Resolver I

How can I auto close a multi selection people picker combobox after one item is select?

Hi All,

I have an issue with the combobox control, when in the browser manually closing the control is fine. But when mobile after selecting an item the control needs to be clicked on the top right which is a very tiny "x" in the mobile the control is not getting scaled (probably I did not consider it) but auto closing it should be fine. Is it possible to do that? So anytime someone actually selects an person the control just autocloses.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Resolver I
Resolver I

Hi All,

Thank for the inputs but I found a way to do it using the "toggle function" trick.

//toggle OnChange
Set(
    _fn_glbEnableComboBoxStatus,
    {Enabled:true,Count:CountRows(ComboBox1.SelectedItems)}
);

//toggle Default
ComboBox1.DisplayMode = Disabled

//ComboBox1 DisplayMode
If(CountRows(Self.SelectedItems)<>_fn_glbEnableComboBoxStatus.Count,Disabled,Edit)


Hope it helps anyone else.

View solution in original post

3 REPLIES 3
Responsive Resident
Responsive Resident

@rssilvaba  Unfortunately this is currently not possible. I had the same issue and finally had to live with it and had to do an end user training.

 

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

Super User III
Super User III

Hi @rssilvaba ,

We use a lot of these on iPads - if you press on the screen away form the combo box, it should close.

 

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.

Resolver I
Resolver I

Hi All,

Thank for the inputs but I found a way to do it using the "toggle function" trick.

//toggle OnChange
Set(
    _fn_glbEnableComboBoxStatus,
    {Enabled:true,Count:CountRows(ComboBox1.SelectedItems)}
);

//toggle Default
ComboBox1.DisplayMode = Disabled

//ComboBox1 DisplayMode
If(CountRows(Self.SelectedItems)<>_fn_glbEnableComboBoxStatus.Count,Disabled,Edit)


Hope it helps anyone else.

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (43,372)