NetBox version
v3.4.2
Python version
3.8
Steps to Reproduce
- Create a Device
- Fill out required fields
- Save Device
- Create IP Address
- Fill out required fields
- Choose the created Device in the Interface Assignment
- Do not choose any Interface in the Interface Assignment
- Save IP Address
Expected Behavior
When saving the IP Address object the form gets validated and at this point I expect to get a warning which tells me to choose an interface in case I want to assign this IP Address to the Device, else to clear the device field.
Observed Behavior
The device selection gets silently discarded. Users can't find the IP Address they have "assigned" to a Device anywhere. Only on editing the IP Address again shows that the value never got stored.