David

Results 30 comments of David

I don't see any way of fixing anything except modifying the base code haha :) I'll give the checkbox issue a go, the issue identified at #11 relates to this,...

buildStratusFormsDataObject function in stratus-forms-1.5.js, is missing the following statement for when checkboxes were deselected... causing the data to be incorrect if the form has been toggled during a second submission....

It's weird the code towards the end of Populate Form Data seems to assume the checkboxes were checked to begin with. With the problem of the StratusFormsData for checkboxes resolved...

Because it's loading the radio button options correctly with the code above, I may as well spend a few more minutes looking at what to change to correct the radio...

https://github.com/davidcfk/StratusForms/commit/4c7a1c91925a3b53a301dd29f63a6b196440e566

Try mine :) it functions without needing to introduce hidden fields :) On Sat., 17 Nov. 2018, 5:28 am drewtothegame Well...I thought I had this working but it appears the...

I was thinking maybe somewhere in the completefunc of the loadForm we could trigger the ChildDDL code... but by the time that swung by, the trigger wasn't even loaded yet......

Ta. Well, I managed to hack my way into it. Turns out there were a few more things wrong along the way, the way it generally conducts the lookup initially...

Hmmm... but the problem is the physical switch would also be out of sync with the smart lights if you controlled it from your phone for whatever reason via another...

flic2 is definitely the "in" thing right now!