From 91045224bd15754e8d51b216ff5c721e12fed399 Mon Sep 17 00:00:00 2001 From: softwarecrash Date: Fri, 28 Jun 2024 09:01:52 +0200 Subject: [PATCH] add replacing spaces in settings input --- src/webpages/HTML_SETTINGS_EDIT.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webpages/HTML_SETTINGS_EDIT.html b/src/webpages/HTML_SETTINGS_EDIT.html index 8ace617..9a7a421 100644 --- a/src/webpages/HTML_SETTINGS_EDIT.html +++ b/src/webpages/HTML_SETTINGS_EDIT.html @@ -7,7 +7,7 @@

Edit Configuration

Device Name + maxlength="35" value="%pre_device_name%" onkeyup="this.value=this.value.replace(/\s+/g,'_');">
MQTT Server @@ -32,7 +32,7 @@

Edit Configuration

MQTT Topic + maxlength="35" value="%pre_mqtt_topic%" onkeyup="this.value=this.value.replace(/\s+/g,'_');">
MQTT Refresh (sec) @@ -42,7 +42,7 @@

Edit Configuration

MQTT Data Trigger Path + name="post_mqtttrigger" value="%pre_mqtt_mqtttrigger%" onkeyup="this.value=this.value.replace(/\s+/g,'_');">
MQTT Json Style