[PR #9696] [MERGED] Fixes #9632 - Focus on select field after populating data #13504

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/9696
Author: @kkthxbye-code
Created: 7/10/2022
Status: Merged
Merged: 7/11/2022
Merged by: @jeremystretch

Base: developHead: fix-9632


📝 Commits (1)

  • 93c30c9 Focus on select field after populating data

📊 Changes

3 files changed (+3 additions, -2 deletions)

View changed files

📝 netbox/project-static/dist/netbox.js (+1 -1)
📝 netbox/project-static/dist/netbox.js.map (+1 -1)
📝 netbox/project-static/src/select/api/apiSelect.ts (+1 -0)

📄 Description

Fixes: #9632

Adds a call to focus() on the search field in select boxes when data is loaded from the API. This prevents cases where focus is not set if the API doesn't respond immediately.


🔄 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/9696 **Author:** [@kkthxbye-code](https://github.com/kkthxbye-code) **Created:** 7/10/2022 **Status:** ✅ Merged **Merged:** 7/11/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `fix-9632` --- ### 📝 Commits (1) - [`93c30c9`](https://github.com/netbox-community/netbox/commit/93c30c94b3b25642af2e74c536a16d18c8a3d102) Focus on select field after populating data ### 📊 Changes **3 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/netbox.js` (+1 -1) 📝 `netbox/project-static/dist/netbox.js.map` (+1 -1) 📝 `netbox/project-static/src/select/api/apiSelect.ts` (+1 -0) </details> ### 📄 Description ### Fixes: #9632 Adds a call to `focus()` on the search field in select boxes when data is loaded from the API. This prevents cases where focus is not set if the API doesn't respond immediately. --- <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:19:15 +01:00
adam closed this issue 2025-12-29 23:19:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13504