# application.setValueListItems() with typeahead

**URL:** <https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302>\
**Category:** Classic Servoy\
**Created:** [April 4, 2007, 11:10am UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302 "2007-04-04T11:10:06Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [April 4, 2007, 11:10am UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/1 "2007-04-04T11:10:06Z")

</div>

```auto
application.setValueListItems(valueListName, application.getValueListItems(valueListName2));

```

If I use the above method with the typeahead field, the typeahead becomes shortened as shown in the attachment.

Please help!

Servoy Developer  
Version 3.1.3-build 407  
Java version 1.5.0\_11-b03 (Windows XP)

![img_001.gif](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/9/92211f198ca94def6bc2ad7a1c0be255c72d9802.gif)

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [April 4, 2007, 11:22am UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/2 "2007-04-04T11:22:17Z")

</div>

What exactly do you mean by shortened? I can’t really see the problem.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [April 4, 2007, 1:23pm UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/3 "2007-04-04T13:23:07Z")

</div>

Yes I have seen this too. The list normally shows 5-10 rows at a time and you can scroll further. When using a large valuelist or so then it suddenly shows only 1 row at the time, as shown in the above screenshot.  
At least that is my suspicion that is has to do with the amount of items in the list.

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [May 15, 2007, 8:18am UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/4 "2007-05-15T08:18:43Z")

</div>

I am still having this problem in servoy 3.5b3.  
Please help fix this.

Thanks!

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [May 15, 2007, 8:58am UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/5 "2007-05-15T08:58:03Z")

</div>

This might also be a Java bug. I see this behavior sometimes in List objects as well. If the list is too long, you end up with something like a combobox rather than a list.

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [May 15, 2007, 9:08am UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/6 "2007-05-15T09:08:00Z")

</div>

It may or may not be a java bug. I have a typeahead with only 3 values and I still get the same issue

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [May 16, 2007, 8:47am UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/7 "2007-05-16T08:47:40Z")

</div>

Hameed,

This is smart client, correct?  
What happens if you change to another Look&Feel?

I cannot reproduce this, if you create a case in our support system, make sure to include a small sample solution.

Rob

---

<div class="post-metadata">

**Author:** ![Harry\_Catharell](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@Harry\_Catharell](https://forum.servoy.com/u/Harry_Catharell)\
**Post date:** [June 20, 2007, 4:32pm UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/8 "2007-06-20T16:32:18Z")

</div>

Hi Rob / Hameed,

Did anyone post a case in support ?

If not then I will do it as I have this problems in 3.5 rc2

Cheers  
Harry

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [June 25, 2007, 2:42pm UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/9 "2007-06-25T14:42:19Z")

</div>

Hi Harry,

Can you file a case in the support system? I have not done so yet.

Thanks

---

<div class="post-metadata">

**Author:** ![Harry\_Catharell](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@Harry\_Catharell](https://forum.servoy.com/u/Harry_Catharell)\
**Post date:** [June 25, 2007, 2:43pm UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/10 "2007-06-25T14:43:33Z")

</div>

Hi Rob,

Posted case into support system for this on 20 June

Case ID 82776

Anyone had a chance to look at this yet ?

Cheers  
Harry

---

<div class="post-metadata">

**Author:** ![Harry\_Catharell](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@Harry\_Catharell](https://forum.servoy.com/u/Harry_Catharell)\
**Post date:** [June 27, 2007, 2:30pm UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/11 "2007-06-27T14:30:33Z")

</div>

Hi,

Can I [bump] the above, please

The case was posted in the support system and hasn’t changed status to tell me that it is being reviewed or similar

I do know how busy you guys are but any feedback would be appreciated  
 ![:oops:]( "Embarassed")

Cheers  
Harry

---

<div class="post-metadata">

**Author:** ![Gabi\_Boros](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gabi\_Boros](https://forum.servoy.com/u/Gabi_Boros)\
**Post date:** [June 28, 2007, 9:05am UTC](https://forum.servoy.com/t/application-setvaluelistitems-with-typeahead/7302/12 "2007-06-28T09:05:56Z")

</div>

hi to all,

the case is fixed in the next public release of Servoy.

regards,  
Gabi
