Unable to enable a widget

Hi,

I created a project based on Edgent_ESP32 and all worked fine.

Then I decided to play a bit with properties and used the option isDisabled to gray out a button and, that also worked fine.

However, I went back to my original setup without the use of setProperty and now, the button is maintained grayed out.

Because I’ve been using the Air option to upload the sketches all along, I went back to the ol’ good USB connection hoping it would fix it but, to no avail.

It looks like as if the iOS app got stuck somehow. Granted I can change the virtual pin and create a new widget but I prefer maintain the actual one.

Where did I go wrong?

TIA

Have you tried using the HTTPS API to re-enable the widget?

The problem sound like it might be related to this issue…

Pete.

No, I was looking for the “Erase data” dialog but cannot find it. How is a widget re-enabled?

By setting isDisabled=false…

Pete.

Cannot do that as I removed the setProperty line.
However, the following did it.
Thanks you!

Which is why I suggested using the HTTPS API from your browser!

Glad taht worked.

Pete.

Ok, will look into it for just in case I need to use it. Thanks again!

Actually, I did do that yesterday, it was my first logical step but it didn’t work for me.