GerLech / WebConfig

For ESP8266 and ESP32 edit configuration with web page and save it on SPIFFS. If no connection to a local WLAN exists configuration over web page can be done using an access point
GNU Lesser General Public License v3.0
80 stars 19 forks source link

Is it possible to add a textfield with multiline (textarea) ? #11

Closed macfletzi closed 3 years ago

macfletzi commented 3 years ago

Hello, I like this great work that simplifies configuration so much.

In my application I use a small textfile stored in the internal FS. This file contains some variable configuraion data with approx. 30 lines, max. size is 1kByte

I read / write this text file via MQTT, but it would be a great extension, if this text file could be accessed via the WebConfig.

I cannot use the text input of the WebConfig, because I need multiline text.

Is it possible to add such a feature? I tried to modify the code of WebConfig, but I noticed that my programming and html knowledge is not sufficient to extend the existing code. Could you help me?

GerLech commented 3 years ago

I added a new input type INPUTTEXTAREA. It does what you want. See release 1.4