Skip to content

Commit

Permalink
Maximum for polling interval & fan id validator added
Browse files Browse the repository at this point in the history
  • Loading branch information
N-b-dy committed Jan 31, 2025
1 parent 1a5d8d9 commit ebb793a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion admin/jsonConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"help": "cfgHelpPollingInterval",
"default": "2",
"min": 1,
"max": 86400,
"sm": 3,
"md": 3,
"lg": 3,
Expand Down Expand Up @@ -57,7 +58,9 @@
"filter": true,
"sort": true,
"help": "cfgHelpFanId",
"default": "0123456789ABCDEF"
"default": "0123456789ABCDEF",
"validator": "return (data.id==='') || data.id.match(/^[A-F0-9]([A-Z0-9])*$/);",
"validatorNoSaveOnError": true
},
{
"type": "text",
Expand Down

0 comments on commit ebb793a

Please sign in to comment.