mirror of
https://github.com/rvdbreemen/OTGW-firmware
synced 2024-11-16 04:33:49 +01:00
Merge pull request #243 from DutchessNicole/main
added provisions for password field
This commit is contained in:
commit
1c8485af72
@ -520,6 +520,12 @@
|
||||
sInput.setAttribute("maxlength", data[i].maxlen);
|
||||
sInput.setAttribute("size", (data[i].maxlen > 20 ? 20 : data[i].maxlen));
|
||||
}
|
||||
else if (data[i].type == "p")
|
||||
{
|
||||
sInput.setAttribute("type", "password");
|
||||
sInput.setAttribute("maxlength", data[i].maxlen);
|
||||
sInput.setAttribute("size", (data[i].maxlen > 20 ? 20 : data[i].maxlen));
|
||||
}
|
||||
else if (data[i].type == "f")
|
||||
{
|
||||
sInput.setAttribute("type", "number");
|
||||
|
Loading…
Reference in New Issue
Block a user