1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-06-02 04:53:29 +00:00

Update ESPUI.cpp

This commit is contained in:
pcbbc 2022-05-23 00:06:42 +01:00
parent a53124de42
commit b47d595194

View File

@ -788,6 +788,8 @@ void ESPUIClass::updateControl(Control* control, int clientId)
root["panelStyle"] = control->panelStyle; root["panelStyle"] = control->panelStyle;
if (control->elementStyle.length()) if (control->elementStyle.length())
root["elementStyle"] = control->elementStyle; root["elementStyle"] = control->elementStyle;
if (control->inputType.length())
root["inputType"] = control->inputType;
serializeJson(document, json); serializeJson(document, json);
#if defined(DEBUG_ESPUI) #if defined(DEBUG_ESPUI)