You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by George Christman <gc...@cardaddy.com> on 2013/10/15 17:12:59 UTC
Autocomplete mixin Typeahead 0.9.3 add result limit parameter
Hello all, is there any chance we could add limit to the tapestry core
autocomplete mixin? I need to return a few more than 5 results and it's
looking like I'd need to create a new mixin to handle this.
It appears to be pretty simple based on the example on typehead.js examples
page.
http://tapestry5-jquery.com/docs/components/docsjquerydialog
$('.example-countries .typeahead').typeahead({
name: 'countries',
prefetch: '../data/countries.json',
limit: 10
});
Thanks guys,