constrain number of dhcp address to positiv numbers

This commit is contained in:
Johannes Kimmel 2023-04-24 16:44:04 +02:00
parent 354a81c589
commit 6f5c338cc5
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ function initForm() {
}),
new L3Input('IPv4 SNAT','clientSNAT', 'snat', {type: 'checkbox', value: 1}),
new L3Input('DHCP Start Address','clientDHCPStart', 'dhcp_start', {type: 'text', maxlength: 15, placeholder: 'IPv4 Address, 10.XX.YY.10'}),
new L3Input('DHCP Number of Addresses','clientDHCPLimit', 'dhcp_limit', {type: 'number', max: 65535}),
new L3Input('DHCP Number of Addresses','clientDHCPLimit', 'dhcp_limit', {type: 'number', min: 1, max: 65535}),
new L3Input('Wifi ESSID','clientESSID', 'essid', {type: 'text'}),
new L3Select('Wifi 2.4 GHz Channel','client2GHZ', 'chan2ghz', {name: 'chan2ghz'}, [
['---', undefined],