disable setvalue on customhtml params

This commit is contained in:
tablatronix
2018-08-07 14:06:31 -05:00
parent 768a965810
commit e9c4cdb2c6
+4
View File
@@ -63,6 +63,10 @@ WiFiManagerParameter::~WiFiManagerParameter() {
}
void WiFiManagerParameter::setValue(const char *defaultValue, int length) {
if(!_id){
// Serial.println("cannot set value of this parameter");
return;
}
_length = length;
int deflength = strlen(defaultValue); // length actual
// use the defult length if it's longer,