Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Set Focus Not Working for Page Item in a Tab Region

Jon DixonMay 27 2025

It appears that setFocus does not work when the item is in a tab region. I have an on-page load dynamic action that sets focus on P2_FIELD2. This works fine.

If I put these fields inside a tab region, the set focus dynamic action no longer works:

The only way I can get it to work is to put the setfocus in a delay, which is hokey at best:

setTimeout(() => {apex.item( "P2_FIELD2" ).setFocus();}, 500);
This post has been answered by Karel Ekema on May 27 2025
Jump to Answer
Comments
Post Details
Added on May 27 2025
3 comments
394 views