[PR #108] [MERGED] Added an option to the WiFiManagerParameter so that a form parameter can be… #1577

Closed
opened 2026-02-28 01:30:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/tzapu/WiFiManager/pull/108
Author: @PabluskiNC
Created: 2/19/2016
Status: Merged
Merged: 3/4/2016
Merged by: @tzapu

Base: masterHead: master


📝 Commits (1)

  • 33a5e5b Added an option to the WiFiManagerParameter so that a parameter can be read-only. This is done in a way that does not break an existing

📊 Changes

2 files changed (+29 additions, -4 deletions)

View changed files

📝 WiFiManager.cpp (+25 -3)
📝 WiFiManager.h (+4 -1)

📄 Description

Added an option to the WiFiManagerParameter so that a form parameter can be read-only. This is done in a way that does not break an existing program by having a constructor for either way.
If a "1" is added to the end of the parameter list then the field becomes readonly.
The HTML will add the "readonly" option.

My need for this is that I am using the MAC address as a ClientID in a MQTT application. I wanted the
user to know the mac without being able to modify it.

It is a relatively simple change, but I hope that you can use it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/tzapu/WiFiManager/pull/108 **Author:** [@PabluskiNC](https://github.com/PabluskiNC) **Created:** 2/19/2016 **Status:** ✅ Merged **Merged:** 3/4/2016 **Merged by:** [@tzapu](https://github.com/tzapu) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`33a5e5b`](https://github.com/tzapu/WiFiManager/commit/33a5e5b3cb81e960e10d7ae8d4b3a2940d38660b) Added an option to the WiFiManagerParameter so that a parameter can be read-only. This is done in a way that does not break an existing ### 📊 Changes **2 files changed** (+29 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `WiFiManager.cpp` (+25 -3) 📝 `WiFiManager.h` (+4 -1) </details> ### 📄 Description Added an option to the WiFiManagerParameter so that a form parameter can be read-only. This is done in a way that does not break an existing program by having a constructor for either way. If a "1" is added to the end of the parameter list then the field becomes readonly. The HTML will add the "readonly" option. My need for this is that I am using the MAC address as a ClientID in a MQTT application. I wanted the user to know the mac without being able to modify it. It is a relatively simple change, but I hope that you can use it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 01:30:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1577
No description provided.