Skip to main content
1-Visitor
Feb 25, 2021 3:37 AM UTC
Solved

How to clear or reset a Dropdown widget on a button click without reloading the mashup?

I am using Thingworx version 9.1.0. I want to reset or clear a dropdown value on a button click. I couldn't find any proper solution for this. If reload the mashup on that button click, the dropdown value will set to "Hint Text" property. But I do not want to reload the entire mashup. 

Thanks

suvermaAnswer
14-Alexandrite
Feb 25, 2021 5:06 AM UTC

Hi @RajatBain 

 

Thanks for reaching out to us on Community.

 

The feature you are seeking is already being worked upon as an enhancement and should be available in upcoming releases. I can notify you on this thread when the feature is available.

 

For time being, could you refer to this post: Dropdown reset on cancel button for a workaround, if that helps.

5 replies

suverma14-AlexandriteAnswer
14-Alexandrite
Feb 25, 2021 5:06 AM UTC

Hi @RajatBain 

 

Thanks for reaching out to us on Community.

 

The feature you are seeking is already being worked upon as an enhancement and should be available in upcoming releases. I can notify you on this thread when the feature is available.

 

For time being, could you refer to this post: Dropdown reset on cancel button for a workaround, if that helps.

Translate
RajatBain1-VisitorAuthor
1-Visitor
Feb 25, 2021 5:52 AM UTC

Hi @suverma ,

 

Thanks for your response. We developers will be really appreciated for that feature in upcoming releases. 
As of now I am using a service to give empty string as result and binding that to selected text of the dropdown.

Thanks again.

 

Translate
16-Pearl
Feb 25, 2021 5:51 AM UTC

@RajatBain ,

Please check the article https://www.ptc.com/en/support/article/CS337514

 

Translate
RajatBain1-VisitorAuthor
1-Visitor
Feb 25, 2021 5:55 AM UTC

Hi @Jimwang ,

 

Thank you for your response. I will try this too.

Translate
Support
Mar 4, 2021 7:24 PM UTC

Hi @RajatBain.

 

If one of the previous responses helped you to find a solution, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Translate