API backed model selection fields #2062

Closed
opened 2025-12-29 17:21:55 +01:00 by adam · 4 comments
Owner

Originally created by @TLMiot on GitHub (Oct 12, 2018).

Environment

  • Python version: Example: 3.5.4
  • NetBox version: Example: 2.4.6

Proposed Functionality

Make the Tenant select an input text field with suggestion, when editing/adding a new Ip

Use Case

Having 1k+ tenants scrolling trough the list every time we have to edit an IP becomes obnoxious. Having an input text, maybe even with suggestion/autocomplete, would be a great improvement for us.

Database Changes

None

External Dependencies

None that I know of but here's and example of a JQuery plugin that does it, as an example
https://github.com/indrimuska/jquery-editable-select

Originally created by @TLMiot on GitHub (Oct 12, 2018). <!-- NOTE: This form is only for proposing specific new features or enhancements. If you have a general idea or question, please post to our mailing list instead of opening an issue: https://groups.google.com/forum/#!forum/netbox-discuss NOTE: Due to an excessive backlog of feature requests, we are not currently accepting any proposals which significantly extend NetBox's feature scope. Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * Python version: Example: 3.5.4 * NetBox version: Example: 2.4.6 ### Proposed Functionality Make the Tenant select an input text field with suggestion, when editing/adding a new Ip <!-- Convey an example use case for your proposed feature. Write from the perspective of a NetBox user who would benefit from the proposed functionality and describe how. ---> ### Use Case Having 1k+ tenants scrolling trough the list every time we have to edit an IP becomes obnoxious. Having an input text, maybe even with suggestion/autocomplete, would be a great improvement for us. <!-- Note any changes to the database schema necessary to support the new feature. For example, does the proposal require adding a new model or field? (Not all new features require database changes.) ---> ### Database Changes None ### External Dependencies None that I know of but here's and example of a JQuery plugin that does it, as an example https://github.com/indrimuska/jquery-editable-select
adam added the status: accepted label 2025-12-29 17:21:55 +01:00
adam closed this issue 2025-12-29 17:21:56 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 16, 2018):

I was looking into Select2 recently. It looks like a candidate for replacing API-driven select fields in many areas.

@jeremystretch commented on GitHub (Oct 16, 2018): I was looking into [Select2](https://select2.org/) recently. It looks like a candidate for replacing API-driven select fields in many areas.
Author
Owner

@lampwins commented on GitHub (Dec 31, 2018):

I am working on this in the select2-ui branch.

@lampwins commented on GitHub (Dec 31, 2018): I am working on this in the select2-ui branch.
Author
Owner

@lampwins commented on GitHub (Jan 5, 2019):

This will be covered in #2753 and is actually already partially implemented in the select2-ui branch.

@lampwins commented on GitHub (Jan 5, 2019): This will be covered in #2753 and is actually already partially implemented in the `select2-ui` branch.
Author
Owner

@lampwins commented on GitHub (Jan 16, 2019):

Implemented in develop

@lampwins commented on GitHub (Jan 16, 2019): Implemented in `develop`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2062