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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 421

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard