Closed
Description
Deployment Type
NetBox Cloud
NetBox Version
v4.1.1
Python Version
3.12
Steps to Reproduce
- Create a CustomFieldChoices with some options (A,B,C)

- Create a Device Z
- Create a custom field of type selection with the CustomFieldChoices
- Assign the custom field to Device
- On Device Z, on the custom field, assign choice B

- In the CustomFieldChoiceSet delete option B

- View Device Z
Expected Behavior
The selected option on the choiceset attached to device Z should be null/none, due to the option removal
Observed Behavior
Option B remains until the object is edited or saved, despite no longer existing.

Note - Due to the options inherent within ChoiceSets (eg: Non Null, default etc) but I'm trying to ascertain if this is a bug (ie: NetBox should warn/error on Objects with this choice selected) or expected behaviour - hence requesting feedback