cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AlexZhidkov
Frequent Visitor

Problem with slider and label in gallery.

Steps to reproduce:

  • Create new blank app with phone layout
  • On Screen1 insert blank vertical gallery
  • Add Data Source to Gallery1 - connection is data gateway to on-premises SQL Server
  • Add Slider to Gallery1, set max to 5 and default to 0.
  • Add Label to Gallery1
  • Set Label1.Text to Slider1.Value
  • Save and publish app

Play in browser - everything works fine.
Open app in PowerApps on IPhone or Android mobile - set first slider to value 3 and scroll the gallery list down. First few Labels are showing 0 as expected but after couple of screens down they all show 3.

Is this an issue with PowerApps or we can do something to make it work on our side?

SliderScreenShot1.jpgSliderScreenShot2.jpg

3 REPLIES 3
dinusc
Microsoft
Microsoft

Hello @AlexZhidkov,

This is currently an issue. As a workaround, can you please try to replace your Label control with a TextInput control? You can make it look like a label control if you set its DisplayMode property to "View".

Hi @dinusc,

I tried Text Input and set it's Default property to Slider1.Value . But it has the same problem as Label.  😞 

And I tried HTML control as well and set HtmlText to Slider1.Value with no luck. They all behave the same.

I've replaced slider and label with radio buttons, set Items to [0,1,2,3,4,5] and Default to 0. This solves my original problem but now first row default is not set 😞

RadioScreenShot.jpg

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,329)