Setting required=False on a custom script variable has no effect #4043
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Using NetBox 2.7.3 all fields in custom scripts are required (in the html input the required flag is set, when sending it anyways NetBox reports that the field is required).
Environment
Steps to Reproduce
required = False
Expected Behavior
The html input is not required and a submit with the field being empty succeeds.
Observed Behavior
The html input is required and a submit with the field being empty fails.
The text was updated successfully, but these errors were encountered: