cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Navigate Search Bar Focus

GregOlson
16-Pearl

Navigate Search Bar Focus

When using any app (Example: View Drawing) when launched, the system takes you to the search page. How do I get the cursor to automatically be in the search bar. I want users to be able to start typing right away when they see the search bar, no need to click in it before typing.  Not a coder, but I believe this is something to do with autofocus?

ACCEPTED SOLUTION

Accepted Solutions

I brought this question to R&D, and learned that the current behavior is hard-coded, and there is no configuration parameter or other attribute that will allow you to change where the focus goes when the page is opened.

View solution in original post

5 REPLIES 5
posipova
20-Turquoise
(To:GregOlson)

You could try looking into Custom CSS applied to that mashup, defining the focus

https://www.w3schools.com/cssref/sel_focus.asp

In composer...what is the name of the search page?

posipova
20-Turquoise
(To:GregOlson)

You would not be able to change the CSS styling of the Composer while keeping the support. 

Probably not asking the right questions...very new to ThingWorx.  If I go into composer, what do I need to search to get to the navigate search page that I want to customize?

I brought this question to R&D, and learned that the current behavior is hard-coded, and there is no configuration parameter or other attribute that will allow you to change where the focus goes when the page is opened.

Announcements


Top Tags