[PR #16203] [MERGED] 15082 - Custom field with trailing white space unable to import #14798

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16203
Author: @Julio-Oliveira-Encora
Created: 5/20/2024
Status: Merged
Merged: 5/21/2024
Merged by: @jeremystretch

Base: developHead: 15082-custom_field_with_trailing_white_space_unable_to_import


📝 Commits (1)

  • 9b3b4b1 Changed "clean_extra_choices" in "CustomFieldChoiceSetForm" to strip the space for value and label.

📊 Changes

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

View changed files

📝 netbox/extras/forms/model_forms.py (+1 -1)

📄 Description

Fixes: #15082

Changed "clean_extra_choices" in "CustomFieldChoiceSetForm" to strip the space for value and label.


🔄 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/16203 **Author:** [@Julio-Oliveira-Encora](https://github.com/Julio-Oliveira-Encora) **Created:** 5/20/2024 **Status:** ✅ Merged **Merged:** 5/21/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15082-custom_field_with_trailing_white_space_unable_to_import` --- ### 📝 Commits (1) - [`9b3b4b1`](https://github.com/netbox-community/netbox/commit/9b3b4b190bb5f1798730d893fd87f6219f6e6b4a) Changed "clean_extra_choices" in "CustomFieldChoiceSetForm" to strip the space for value and label. ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/forms/model_forms.py` (+1 -1) </details> ### 📄 Description ### Fixes: #15082 Changed "clean_extra_choices" in "CustomFieldChoiceSetForm" to strip the space for value and label. --- <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:26:48 +01:00
adam closed this issue 2025-12-29 23:26:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14798