Skip to content

Commit

Permalink
Merge pull request tzapu#467 from lukepalmer/master
Browse files Browse the repository at this point in the history
Document that parameter id cannot contain spaces
  • Loading branch information
tablatronix authored Jan 31, 2018
2 parents a4795b7 + eb56062 commit 53a27f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WiFiManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ const char HTTP_END[] PROGMEM = "</div></body></html>";

class WiFiManagerParameter {
public:
/**
Create custom parameters that can be added to the WiFiManager setup web page
@id is used for HTTP queries and must not contain spaces nor other special characters
*/
WiFiManagerParameter(const char *custom);
WiFiManagerParameter(const char *id, const char *placeholder, const char *defaultValue, int length);
WiFiManagerParameter(const char *id, const char *placeholder, const char *defaultValue, int length, const char *custom);
Expand Down

0 comments on commit 53a27f1

Please sign in to comment.