- attached autocomplete.JPG
Use autocomplete for selecting values in edit or create screen
Currently a standard drop down list is used to pick the value. This could be improved to a autocomplete input field like in JIRA 6 issue navigator used.
Comments (14)
-
repo owner -
repo owner - changed title to Use autocomplete for selecting values in edit or create screen
-
repo owner See Jira custom fields - how to use jquery in velocity edit.vm for implementation.
-
repo owner I am planning to use AUI Select2 input field, which provides auto-complete for both single and multi-select input fields.
This is helpful especially when having lots of values to pick from.
-
If the AUI Select2 input field is used for auto-complete, I would prefer to be able to choose to either use either the auto-complete AUI Select2 input control OR the current standard select list control. For lists with a small number of items, the standard select list is more straight forward.
-
In my case, it will fine to go with the the plan Holger proposed for get this feature first in sooner feature. The feedback from Justin is really nice and make it more flexible on the usage scenario. Maybe this becomes a enhancement later if it needs much more efforts? ^_^
-
repo owner Looking at the examples on http://select2.github.io/select2/ this is a full replacement for regular select field I think. For Project Specific Select Field custom fields I would use configuration as described in the sections of http://select2.github.io/select2/
- The Basics (for single-select)
- Multi-Value Select Boxes (for multi-select)
- Placeholders (for both with text "Please select...")
-
Just a quick note here. Hope this won't have much impact while upgrading from current version to new version.
-
repo owner No worries. This is a one-click update. :-)
-
Perfect!
-
repo owner Sorry, took a while until I got this implemented. Was not that easy as I initially though. At then end now it is five lines of code, but I needed to find out the best and also performant way.
I choosed to implement this only for multiselect field, because Atlassians AUI layout for single select2 does not work nicely with inline edit. But I think anyhow most helpful is to use select2 for multiselect. (This look 100% similar to fix version picker.)
Hope this is fine for you and will go ahead and officially release it as a minor update soon.
-
Thanks a lot. Getting it moving step by step is a good practice. ^_^
-
repo owner - changed milestone to 2.5.2
-
assigned issue to
-
repo owner - changed status to resolved
Released with version 2.5.2
- Log in to comment
See also JRA-23013 Allow multi-select and multi-checkboxes custom field types to use auto-complete renderer.