Custom text field with automatic dropdown #7135

Closed
opened 2025-12-29 20:19:38 +01:00 by adam · 2 comments
Owner

Originally created by @PieterL75 on GitHub (Oct 20, 2022).

NetBox version

v3.2.9

Feature type

Change to existing functionality

Proposed functionality

In the custom fields there is an option for a 'text' field and an option for a 'selection' field.
I would like to see those 2 getting married to 'text field with autodropdown'.
The idea, is that any value can be entered in the textfield and that a dropdown is available for all entries that already exists anywhere.
This creates dynamic selections lists that can easily be updated, without the need for an admin to go into the CF section and update the selection values.
Drawback, is that it can become cluttered, and that it requires a way to store all the values of that customtextfield. Maybe #10560 can help here ?

Use case

When creating a cable, we assign a 'project' to the cable using a customfield of the type Selection. This allows us to easily filter out what cables need to be completed per project.
Unfortunately, I have to update that selection each time a new project is started. The projects are not stored in Netbox, only the reference to the project.
I tried with a textfield, but people tend to make typo's.
This auto-populated dropdown for a regular textfield would fix that problem

Database changes

No response

External dependencies

No response

Originally created by @PieterL75 on GitHub (Oct 20, 2022). ### NetBox version v3.2.9 ### Feature type Change to existing functionality ### Proposed functionality In the custom fields there is an option for a 'text' field and an option for a 'selection' field. I would like to see those 2 getting married to 'text field with autodropdown'. The idea, is that any value can be entered in the textfield and that a dropdown is available for all entries that already exists anywhere. This creates dynamic selections lists that can easily be updated, without the need for an admin to go into the CF section and update the selection values. Drawback, is that it can become cluttered, and that it requires a way to store all the values of that customtextfield. Maybe #10560 can help here ? ### Use case When creating a cable, we assign a 'project' to the cable using a customfield of the type Selection. This allows us to easily filter out what cables need to be completed per project. Unfortunately, I have to update that selection each time a new project is started. The projects are not stored in Netbox, only the reference to the project. I tried with a textfield, but people tend to make typo's. This auto-populated dropdown for a regular textfield would fix that problem ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurepending closure labels 2025-12-29 20:19:38 +01:00
adam closed this issue 2025-12-29 20:19:38 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 20, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Dec 20, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Feb 10, 2023):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Feb 10, 2023): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7135