Skip to content

Min/max validation failures for numeric fields is misleading #20398

@jeremystretch

Description

@jeremystretch

NetBox Edition

NetBox Community

NetBox Version

v4.4.1

Python Version

3.12

Steps to Reproduce

  1. Go to create a new ASN
  2. Enter the AS number 4294967296 (which exceeds the maximum permitted value of 4294967295) and select a RIR
  3. Attempt to submit the form

Expected Behavior

An error message should appear informing the user that the provided ASN exceeds the maximum allowed value.

Observed Behavior

The error message indicates "This field is required." The message does not offer any helpful direction to the user.

Image

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions