cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
trjackson77
Helper II
Helper II

Focus hijacked - possibly by patch code?

I am having trouble with a gallery for the input of data.  It has three text input controls (txtCount1-3).  I want the focus to move from txtCount1 to txtCount2 (and 2-3) when data is entered.  There is some code running onChange that patches a collection.

 

When entering data I can see that the focus moves from txtCount1 to txtCount2, but then almost instantaneously moves back to txtCount1.  What is going on?

1 ACCEPTED SOLUTION

Accepted Solutions
Alex_10
Super User
Super User

how does that focus move from txtCount1 to txtCount2? By pressing TAB on the keyboard?

If yes, patching OnChange into the same collection as gallery's data source collection will reset tabbing order.

Patching to a different collection will not reset that tabbing.

View solution in original post

1 REPLY 1
Alex_10
Super User
Super User

how does that focus move from txtCount1 to txtCount2? By pressing TAB on the keyboard?

If yes, patching OnChange into the same collection as gallery's data source collection will reset tabbing order.

Patching to a different collection will not reset that tabbing.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (834)