ddtlabs / ESPEasy-Plugin-Lights

ESPEasy Plugins
GNU General Public License v2.0
15 stars 9 forks source link

PLUGIN_WEBFORM_LOAD custom field construction throws error #4

Open noctividus opened 6 years ago

noctividus commented 6 years ago

When you navigate to the Device, the web interface throws an error:

Bug in PLUGIN_WEBFORM_LOAD, should not append to string, use addHtml() instead

I Believe this is because the custom fields for the webform are constructed using a string and sprintf_P instead of the methods provided by the webform.

bmberni commented 5 years ago

any news on that? seems that it is not working with espmega (v.2) Unable to select the gpio pins cause the fields are hidden with the error above.

noctividus commented 5 years ago

I fixed it an created a pull request. However, it's a small project and I don't think ddtlabs is supporting anymore. Take a look at my pull request and you can get a version that works.