diff --git a/WiFiManager.h b/WiFiManager.h index de79dc1..c0c67b9 100644 --- a/WiFiManager.h +++ b/WiFiManager.h @@ -128,7 +128,7 @@ class WiFiManagerParameter { const char *getPlaceholder() const; // @deprecated, use getLabel int getValueLength() const; int getLabelPlacement() const; - const char *getCustomHTML() const; + virtual const char *getCustomHTML() const; void setValue(const char *defaultValue, int length); protected: @@ -141,6 +141,7 @@ class WiFiManagerParameter { char *_value; int _length; int _labelPlacement; + protected: const char *_customHTML; friend class WiFiManager; };