web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : XkbvmOjF1ddXV0swKM6Nev
Power Apps - Building Power Apps
Answered

PowerApps Label in gallery

Like (0) ShareShare
ReportReport
Posted on 6 Jul 2022 12:18:34 by

Hello PA Community,

I have inherited a PowerApp that I am finishing up and have stumbled upon a gallery with labels in it where some of the labels turn into 'Typeable' boxes. See below:

Gallery in questionGallery in question
Apologies for the excessive blurring of headers.

 

First of all; I cannot figure out where it is set up so one specific row has 'Typeable' boxes and the rest just shows a value?


Second, in my OnSelect property of the corresponding check boxes I have the following code:

 

UpdateIf(
 colLocations,
 loc_id = ThisItem.loc_id,
 {
 invertlevel: If(
 chk_Bundkote.Text = "Manual",
 Value(lbl_Bundkote.Text),
 Value(ThisItem.invertlevel)
 ),
 invertlevel_source: ThisItem.datasource
 }
);

 

I am updating values in a collection using these checkboxes.

Now I need to add logic which enables me to write a number in the 'typeable' fields, and push that to my collection OnSelect of the check box. I have tried to add an If statement but it doesn't work as intended.

Any hints would be appreciated.

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    on 06 Jul 2022 at 14:06:15
    Re: PowerApps Label in gallery

    I discovered that a textbox had been placed on top of the label.

    I adjusted my code to this and it now works:

    UpdateIf(
     colLocations,
     loc_id = ThisItem.loc_id,
     {
     invertlevel: If(
     ThisItem.datasource = "Manual",
     Value(txt_Bundkote.Text),
     Value(ThisItem.invertlevel)
     ),
     invertlevel_source: ThisItem.datasource
     }
    );
    
    

     

    Not the smartest oversight but at least I figured it out.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2