[PR #13689] [CLOSED] Fixes: #13681 - Resolve TypeError when default is set on a "non required" custom field #14240

Closed
opened 2025-12-29 23:23:21 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13689
Author: @DanSheps
Created: 9/5/2023
Status: Closed

Base: developHead: 13681-fix-typeerror-with-nonrequired-customfield


📝 Commits (1)

  • da4dc17 Fixes: #13681 - Resolve TypeError when default is set on a "non required" custom field

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 netbox/utilities/forms/fields/dynamic.py (+3 -2)

📄 Description

Fixes: #13681

  • Add check on get_bound_field to ignore the "none" choice

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/13689 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 9/5/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `13681-fix-typeerror-with-nonrequired-customfield` --- ### 📝 Commits (1) - [`da4dc17`](https://github.com/netbox-community/netbox/commit/da4dc17abedc704a7c5d033e46fbd8be147b10ae) Fixes: #13681 - Resolve TypeError when default is set on a "non required" custom field ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/forms/fields/dynamic.py` (+3 -2) </details> ### 📄 Description ### Fixes: #13681 * Add check on get_bound_field to ignore the "none" choice --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:23:21 +01:00
adam closed this issue 2025-12-29 23:23:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14240