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 / SetFocus after Patch n...
Power Apps
Unanswered

SetFocus after Patch not maintaining focus

(0) ShareShare
ReportReport
Posted on by 244

I have a custom SharePoint list form  where I am patching data to the list whenever the Status value is changed (set a date when the specific status was set, update the Status value). I tried setting focus to the dropdown control for Status, but I get the error that the control can't have focus set to it. So I set it to the Submit button at the bottom of the page instead. It seems to set focus on the button but then immediately jumps to the top of the page. Is there any way to make it maintain focus on the card that contains the Status dropdown (or even the Submit button) after the patch completes? The Status dropdown is TabIndex 0. All the controls above it are TabIndex -1. The controls that need input from the user below the Status dropdown have incremental TabIndex values. The Submit button is the last control with a TabIndex above 0. 

 

Thanks for any assistance!

Categories:
I have the same question (0)

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard