[SailfishDevel] custom autocomplete?

Pekka Vuorela pekka.vuorela at jolla.com
Fri Nov 14 11:54:07 UTC 2014


to, 2014-11-13 kello 19:09 +0100, Victor Mataré kirjoitti:
> Hi all,
> 
> I have a TextInput where the user enters host names and/or IP addresses. So 
> naturally, I'd like to offer some mechanism that allows the user to quickly 
> pick from recently used entries. GUI-wise, the best way to do that seems to be 
> the autocomplete of the keyboard, since normally I'd just deactivate 
> prediction completely for this type of input. So instead of just deactivating 
> it, the better choice would be to feed it a simple word list that offers input 
> hints for recently used host names and IP addresses. Any idea how to do that?

Unfortunately it's not possible to offer completion options to the
keyboard. You have to implement completion on application side.




More information about the Devel mailing list