From b47d59519442d8d4b8720f43b650466825dca12e Mon Sep 17 00:00:00 2001 From: pcbbc Date: Mon, 23 May 2022 00:06:42 +0100 Subject: [PATCH] Update ESPUI.cpp --- src/ESPUI.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ESPUI.cpp b/src/ESPUI.cpp index 2631742..a32196e 100644 --- a/src/ESPUI.cpp +++ b/src/ESPUI.cpp @@ -788,6 +788,8 @@ void ESPUIClass::updateControl(Control* control, int clientId) root["panelStyle"] = control->panelStyle; if (control->elementStyle.length()) root["elementStyle"] = control->elementStyle; + if (control->inputType.length()) + root["inputType"] = control->inputType; serializeJson(document, json); #if defined(DEBUG_ESPUI)