mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Check passphrase length in the UI form. Add ieee80211n/ieee80211ac.
This commit is contained in:
parent
eb590a616d
commit
3a5fa4564a
4 changed files with 41 additions and 4 deletions
|
|
@ -241,6 +241,22 @@ function prefsInputFieldPrefs(label, comment, prekey, key, default_value, _input
|
|||
end
|
||||
end
|
||||
|
||||
if extra.minlength ~= nil then
|
||||
if extra.tformat ~= nil then
|
||||
attributes["data-minlength"] = extra.minlength
|
||||
else
|
||||
attributes["minlength"] = extra.minlength
|
||||
end
|
||||
end
|
||||
|
||||
if extra.maxlength ~= nil then
|
||||
if extra.tformat ~= nil then
|
||||
attributes["data-maxlength"] = extra.maxlength
|
||||
else
|
||||
attributes["maxlength"] = extra.maxlength
|
||||
end
|
||||
end
|
||||
|
||||
if extra.step ~= nil then
|
||||
if extra.tformat ~= nil then
|
||||
attributes["data-step"] = extra.step
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue