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 : Rzl+ZBWKfw/x9PyJeCg0tr
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:
I have the same question (0)
  • 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 831 Most Valuable Professional

#2
developerAJ Profile Picture

developerAJ 576

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 335 Super User 2025 Season 2

Last 30 days Overall leaderboard