Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
Posts: 26
Registered: ‎02-22-2013
My Device: BlackBerry Z10
My Carrier: Telus

Auto-Completed search form

Hi,

 

I have a dropdown list with a large amount of items. To make it easier for the user to search, I want to add a text input to the dropdown which would let them type a letter in and it would complete the word according to what's available in the list. 

 

I'm wondering if anybody has any idea on how to do this or something similar to this in Cascades. Thanks!

Highlighted
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Auto-Completed search form

[ Edited ]

I don't see any reason why you couldn't check for keypresses while the list is expanded then remove the options that don't correspond to the key press. Maybe with an optional Label to show the currently typed letters or some indication to the user that this is possible.

 


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
New Developer
Posts: 26
Registered: ‎02-22-2013
My Device: BlackBerry Z10
My Carrier: Telus

Re: Auto-Completed search form

Thanks for the suggestion. Is there a way to show the keyboard when I click the dropdown list?

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Auto-Completed search form

There is... Smiley Happy

 

http://developer.blackberry.com/native/reference/bb10/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_re...


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 689
Registered: ‎08-09-2010
My Device: Not Specified

Re: Auto-Completed search form

Hi All,

 

    YOu got solution? If yes then can u share code?