Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Type-Ahead in Workitem's Attribute Enumerations?

Dear all,

we will have enumerations filled from REST requests from other sources. Some of them will have several hundred of values. With the default behaviour if you type a letter you jump to the first occurence of a value starting with this letter. If you type a second one you jump to the first occurence of that letter. This leaves the user the necessity to scroll through a still quite long list to find the value they would like to choose.

Is there an easy way to get type-ahead (in the web client and the Eclipse client) so that the possible values are reduced to the beginning char sequence so that the list of possible values gets constantly smaller with each new entered letter?

Thanks in advance,

- Oliver -

0 votes


Accepted answer

Permanent link
Hi Oliver,

You might want to use a Script-based Filtered Value Set Provider, which works for both clients. Please take a look at this for an example.

In short, your script will be called with the user input (as "filter") using "getFilteredValueSet" interface. This script will have to
a) retrieve the values from your service
b) filter out its values using the "filter" parameter
Oliver Drees selected this answer as the correct answer

0 votes

Comments

Hello Gabriel,

thank you very much. This was exactly what I was looking for.

- Oliver -

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 09 '12, 7:57 a.m.

Question was seen: 5,554 times

Last updated: Nov 13 '12, 12:56 a.m.

Confirmation Cancel Confirm