Hello SAP Community,
I was after a steer on where I am going wrong with a custom widget I am developing?
The actual widget works great however if I have multiple instances of it on the screen when I set the property of one of the instances it affects all instances.
All the widget does is create a div and populate it every second with the time so it's like a real-time clock, however I have added a couple of properties which are set from the builder *.js file of "offset" and "dst" to allow the user from the designer to 1. Set any offset (e.g +5 to give me the time in India) and 2. any Daylight Saving Time (e.g. +1 to give me BST).
As mentioned the widget works as expected until I change the value in the designer which bleeds into all instances of the control instead of just the one I am updating. I have attached the code to see if somebody could help me with this...