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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Text property is blank...
Power Apps
Unanswered

Text property is blank for a textbox in a gallery inside a form custom card

(0) ShareShare
ReportReport
Posted on by 10

Hi,

 

I have a big form with multiple controls, and a section within the form required addition of n number of vehicle models. I tried using a multi-lookup column in share point for the backend and a separate list to insert the models as rows. From UI, within the form, I added custom card, and added a gallery within the card. I set the source of this gallery to a collection, that is loaded on screen visible property from the sharepoint multi-lookup column. This is how the first two rows in the gallery get added. I then click on AddLin button that adds a new empty row to the collection and thus displays a new row in the gallery. Now my task it to update the backend with the new model from the textbox box at the bottom of the gallery. My ForAll on Gallery.Items iterates 3 times, and gets the text of the first two rows(that came from sharepoint list) but does not get the text of the newly added row. The text property of this third row from gallery shows blank.

To explore this further I pulled out a copy of the gallery, 'AddItem' and 'insert' buttons, out of the form. From the image, the section on the left is outside the form and the section on the right is within the form. On insert button click on both of these sections the left one outside the form works and inserts the text from all three text boxes to a collection, but the insert button click from right section which is within the form inserts text from first two textboxes and a blank value for the third.  I also tried adding a separate textbox outside the gallery, but within the custom card to check if it has to do something with the custom card. But I am able to get the text from this different textbox that shows the text 'tyuio'. Could someone kindly explain what could be wrong here and how to fix this?

 

haripriya_adus_0-1662985285631.png

Thanks,

Haripriya

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @haripriya_adus ,

     

    Could you please share your formula for Patch to the data source?

     

    Best regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 977

#2
Valantis Profile Picture

Valantis 664

#3
11manish Profile Picture

11manish 530

Last 30 days Overall leaderboard