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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Focus on autocomplete widget on button click without using mouse click

ranjank
15-Moonstone

Focus on autocomplete widget on button click without using mouse click

Hi Team,

 

Suppose I have a search button and I want after on click of that button an autocomplete widget gets visible and more importantly the cursor gets focused immediately so that any one can enter alphabets in autocomplete widget without using mouse left click. 

Please help with the logic if it is possible. (TWX version 9.1)

Thanks in advance

1 REPLY 1
wcui
16-Pearl
(To:ranjank)

Hi Ranjank

 

Attachment <Entities.xml> is a sample mashup&thing to get an autocomplete widget visible after on click of a button. 

However, I am afraid your request of getting the autocomplete widget focused is currently unsupported with TW standard functions per below article. In case you don't have a PTC account to view the article, I also attached the PDF file.

https://www.ptc.com/en/support/article/CS314721

 

So back to your auto focus request, a possible solution is to develop your own extension widget with ThingWorx Visual SDK which utilize Google Polymer. Please check below links for more details.

https://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx%2FHelp%2FMashup_Builder%2FWidgets%2FVisualSDKDocumentation.html%23

http://support.ptc.com/help/thingworx_hc/visual_sdk/

Announcements


Top Tags