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

gallery with "with()" in a view form with "gallery1.selected" does not work

by adding this code in the items property of the gallery

Richard95_0-1650298015842.png

 

stop working on a new screen with a navigate to this screen

 

Richard95_1-1650298132627.png

 

on this screen there is a view form that in its Item property has Gallery1.Selected does not work and in its datasoucer property it contains the database

 

Richard95_2-1650298216795.png

 

 

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @Richard95 ,

 

I think the formula in the first screenshot is wrong.

Patch function is a behavior function which uses in some properties startwith 'on..' such as onselect, onvisible...

It can't be used in the Items property.

 

Best Regards,

Wearsky

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,185)