Skip to main content
1-Visitor
December 5, 2016
Question

How to reset dropdown values to default on button click?

  • December 5, 2016
  • 1 reply
  • 3372 views

Hi,

I wanted to reset the default value for the dropdown list on button click, please suggest.

Thanks in advance!

1 reply

5-Regular Member
December 5, 2016

Mohd, do you want the List widget to go back to the value that was initially present when the Mashup loaded?

madnan1-VisitorAuthor
1-Visitor
December 6, 2016

Yes, exactly

5-Regular Member
December 6, 2016

If it had a null value, there's unfortunately no direct way to go back to that point if you've selected any. A hard browser refresh (F5) would reset it back to zero though. We can do this through the Mashup, but since this is a browser refresh, it will reload your other widgets/ services on the Mashup too. Would that be okay?