fix default lease duration value

This commit is contained in:
Ildar Kamalov
2025-02-24 15:30:18 +03:00
parent cb307472ec
commit b49790daf8
2 changed files with 36 additions and 16 deletions

View File

@@ -179,6 +179,7 @@ const FormDHCPv4 = ({ processingConfig, ipv4placeholders, interfaces, onSubmit }
disabled={!isInterfaceIncludesIpv4}
min={1}
max={UINT32_RANGE.MAX}
value={field.value ?? ''}
onChange={(e) => {
const { value } = e.target;
field.onChange(toNumber(value));