Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"add new" option for dropdown menus #470

Closed
alexjhart opened this issue Aug 15, 2016 · 13 comments
Closed

"add new" option for dropdown menus #470

alexjhart opened this issue Aug 15, 2016 · 13 comments
Labels
type: feature Introduction of new functionality to the application

Comments

@alexjhart
Copy link
Contributor

Consider you are adding a new device (this applies to other contexts as well, but I'm using device as an example). One will need to set the role, manufacture, type, etc. If you don't have all of those things pre-created, you end up getting forced to fill out the form again after leaving the page to create them. Wouldn't you rather have a way to add those things on the fly so you can just continue setting up the device without the extra headache? If an "add new" option was available at the top of the list or a plus sign next to the dropdown, you could click that to get a modal box style pop up to create the missing option which triggers a dropdown list refresh on save.

@jeremystretch jeremystretch added the type: feature Introduction of new functionality to the application label Aug 16, 2016
@anthraxau
Copy link

ive fallen victim to this a few times

@aoyawale
Copy link

I have to agree. 1+

@mryauch
Copy link
Contributor

mryauch commented Oct 25, 2016

+1 This has definitely been one of my biggest issues with having just set up the system and manually adding items while a newbie. As it is now it's pretty much assuming you know everything that will be a required field ahead of time and have already set it up.

@jeremystretch
Copy link
Member

This is something we should be able to support starting with v2.0, which introduces full write API support.

@jeremystretch jeremystretch added minor feature and removed type: feature Introduction of new functionality to the application labels Mar 23, 2017
@alexjhart
Copy link
Contributor Author

Good to hear, especially with the release of v2.0 :)

@jeremystretch jeremystretch self-assigned this Oct 20, 2017
@jeremystretch jeremystretch removed their assignment Jan 26, 2018
@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Jan 26, 2018
@tyler-8
Copy link
Contributor

tyler-8 commented Aug 5, 2019

With the Select2 dropdown fields is this necessary anymore? Re-selecting the dropdown triggers a new API call which will pick up any newly created entries (in another tab for example).

@alexjhart
Copy link
Contributor Author

Yes, it is still necessary. The workflow is still improved when you can create items that are missing without leaving the page/tab.

@DanSheps
Copy link
Member

Just to save this for future: https://stackoverflow.com/questions/38635800/i-need-to-add-add-new-item-option-in-select2/38655413

Various different approaches to "create new" in Select2

@jeremystretch jeremystretch added type: feature Introduction of new functionality to the application status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation and removed type: minor feature status: accepted This issue has been accepted for implementation labels Jul 24, 2020
@jeremystretch
Copy link
Member

The development burden for implementing this using the current UI is likely disproportionate to the value gained. Leaving this open for anyone who wants to volunteer. Otherwise, it will be reconsidered during a future overhaul of the UI.

@stale
Copy link

stale bot commented Sep 7, 2020

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. Please see our contributing guide.

@stale stale bot added the pending closure Requires immediate attention to avoid being closed for inactivity label Sep 7, 2020
@stale
Copy link

stale bot commented Sep 23, 2020

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.

@stale stale bot closed this as completed Sep 23, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 22, 2020
@jeremystretch jeremystretch added status: under review Further discussion is needed to determine this issue's scope and/or implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation pending closure Requires immediate attention to avoid being closed for inactivity labels Dec 18, 2021
@jeremystretch
Copy link
Member

With the recent introduction of HTMX (see #8057), I think this is now a real possibility. More investigation is needed to see what's feasible but I'm confident we can come up with something.

@jeremystretch jeremystretch reopened this Dec 18, 2021
@jeremystretch
Copy link
Member

Disregard; this will be covered under #5858.

@jeremystretch jeremystretch removed the status: under review Further discussion is needed to determine this issue's scope and/or implementation label Dec 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

7 participants