SelectedItemsChanged and page load
I have thingworx 9.6.5 cloud hosted.
On a mashup I have dropdown menu automatically populated and selected with the right value at page load.
Esample I have 3 options mode1 mode2 mode3, and at page load I populate the dropdown and select the last selection (ex mode3).
I also use the SelectedItemsChanged event, in order to update the selected value with a service, whennever the dropdown is used.
The problem is that at page load, when it auto-select the last value (SelectedText input property of the widget), it launch the SelectedItemsChanged event and so it saves that first selection as a change ... but this is not needed and cause some problems.
I know if I use an external SAVE BUTTON instead of the events I could solve .... but I would it saves changes directly when dropdown is changed.
Is there a best practise to to that ?


