[PR #3197] [MERGED] Fixes #3031: Select2 creates multiple tags for tags with spaces #12514

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3197
Author: @KhaledTo
Created: 5/18/2019
Status: Merged
Merged: 5/29/2019
Merged by: @jeremystretch

Base: developHead: bug/3031


📝 Commits (1)

  • cbace6f Fixes #3031: Select2 creates multiple tags for tags with spaces

📊 Changes

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

View changed files

📝 netbox/project-static/js/forms.js (+4 -0)

📄 Description

Fixes: #3031 Issue with Select2 and Tags with Spaces

In the form when processing results for Tags, add double quotes if it contains a space.


🔄 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/3197 **Author:** [@KhaledTo](https://github.com/KhaledTo) **Created:** 5/18/2019 **Status:** ✅ Merged **Merged:** 5/29/2019 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `bug/3031` --- ### 📝 Commits (1) - [`cbace6f`](https://github.com/netbox-community/netbox/commit/cbace6f83178fe49f6d52bda428a4868fcd749ad) Fixes #3031: Select2 creates multiple tags for tags with spaces ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/js/forms.js` (+4 -0) </details> ### 📄 Description ### Fixes: #3031 Issue with Select2 and Tags with Spaces In the form when processing results for Tags, add double quotes if it contains a space. --- <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 22:22:00 +01:00
adam closed this issue 2025-12-29 22:22:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12514