Page 3 of 5

Displaying suggestions in input box

Posted: Thu Oct 31, 2013 5:57 pm
by anelezeravla

We managed to prevent the layer from disappearing by adding at Page Show event autoFocus: true

However, we still can't manage to click on the selected suggestion.

Appery("mobiletextinput_2").autocomplete({
source: [],
minLength: 0,
delay: 0,
autoFocus: true
});


Displaying suggestions in input box

Posted: Thu Oct 31, 2013 7:43 pm
by Maryna Brodina

Don't do autoFocus: true. Just delete jquery link in App settings - External resources. You don't need it there because you have it in JS assets.


Displaying suggestions in input box

Posted: Mon Nov 04, 2013 9:45 am
by anelezeravla

Thanks a lot, it works beautifully.


Displaying suggestions in input box

Posted: Mon Nov 25, 2013 9:40 am
by vcalero

Hello, I follow all steps for my autocomplete input and my app works fine. But I have got a problem with minLength and delay parameters:

Now, my Page Show script is this:
code
Appery("mobiletextinput_busqueda").autocomplete({
source: [],
minLength: 0,
delay: 0
});
/code

Then my app, for each letter in the input box search make this:
Image
(Too many requests for only one search)

If I change the minLength or delay parameters for minLengh 3 or delay 1500 or both, the autocomplete makes the same requests and also don't show the response.

Any idea? Thanks in advance.


Displaying suggestions in input box

Posted: Mon Nov 25, 2013 7:44 pm
by Maryna Brodina

Hello! Try to track speed of data input into Input field. In code check the last time value in Input has been changed and if time before changes isn't long don't invoke service.


Displaying suggestions in input box

Posted: Tue Nov 26, 2013 12:28 pm
by vcalero

Thanks Maryna.


Displaying suggestions in input box

Posted: Sun Jan 11, 2015 1:37 pm
by EJLD

Hi There, happy new yr !

I hv gone through the above.
hv linked the app to the additional library http://code.jquery.com/ui/1.10.3/jque...
however, on that same html page, I hv a slider (Appery's) and it is removed (if I delete the link to the library, the slider reappears) :(

i do need both : the slider + the autocomplete

any idea ?

thks in advance,
Eric


Displaying suggestions in input box

Posted: Mon Jan 12, 2015 12:46 am
by EJLD

Hi there, in fact, I don't need to have slider and autocomplete on same page. I'll do differently. forget about this question. best, Eric


Displaying suggestions in input box

Posted: Mon Jan 12, 2015 6:01 am
by Evgene Karachevtsev

Hello Eric,

Happy new year you too and thank you for the update.


Displaying suggestions in input box

Posted: Wed May 20, 2015 12:50 am
by Ellen Schlechter

@anelezeravla What components do you use to type in and to display the list of suggestions? And how do you make the list appear?