mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1280] Alternative for getting values from custom HTML params #1097
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1097
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @witnessmenow on GitHub (Aug 17, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1280
I'm not sure if this is interesting to people, but I had a thought that it is possible to use a couple of lines of javascript to save the output of Custom HTML parameters to regular field, and just hide that field.
I'm not sure it's anymore useful than the existing way to get values out, but just thought I would share it as an option.
@tablatronix commented on GitHub (Aug 17, 2021):
Good idea!, I have been meaning to expand on the param child class with input types, but then there needed to be custom getters for the values and then that led to another issues with param ids... and I kind of gave up on it for now.
But this helps and is a pretty standard solution for things like color pickers already.
@G-Pereira commented on GitHub (Apr 28, 2022):
@tablatronix is this still the only way to achieve value parsing from a custom HTML parameter? (embedding custom JS)
@tablatronix commented on GitHub (Apr 28, 2022):
I added this for testing,
#1365
https://github.com/tzapu/WiFiManager/tree/feature_statichtmlparams