I am attempting to show a default value in a Drop down list box.
The drop down looks like this:
Quite simple.
Click the Scan button and then I get this: This is the default value passed in msg.payload.
Notice the comma and the junk on the end. What isn't shown here is that the mouse is still over the button i.e the button still has the focus.
If I move the mouse away from the button so it loses focus, the dropdown then redisplays correctly like this without me having top do anything.
I have found that if I click the button and immediately move the button away before the MQTT task has completed and returned a response (2-3 seconds), the junk still appears and it will only 'disappear' if I move the focus back over the button then move it away again.
A debug at the time shows the msg - both options and payload to be correct - at least they look good to me!
Does anybody spot something I have missed - or is this a NR bug? (heaven forbid).
@dceejay