How to set focus on a reference selector on a page?

Hi all,   I have a strange issue on one page in my application. It’s a popup page, it contains multiple fields and the top one is a reference selector.   Mendix always set the focus on the 2nd field, an input text field and I can’t figure out how to force the focus on the reference selector.   I tried to configure the property Tab index, but it’s not working.   Any idea?  
1 answers

I had this strange issue too. My solution was to remove the input widget which gained focus all the time, and adding it again to the page. 


I don't know why this works or what the issue is, but hope it helps!