In component scripting how would you reset a dropdowns selected value back to default (-1)?
You could do just that.
event.source.parent.getComponent('Dropdown').selectedValue = -1
If the dropdown, and a button are on the same level (both on rootcontainer, etc.) then putting this script on the button press will reset the dropdown.
2 Likes
that worked. Thanks for the help