tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yiannis pericleous (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-2292) Autocomplete Mixin shows only 5 suggestions
Date Fri, 21 Feb 2014 12:16:21 GMT
yiannis pericleous created TAP5-2292:

             Summary: Autocomplete Mixin shows only 5 suggestions
                 Key: TAP5-2292
                 URL: https://issues.apache.org/jira/browse/TAP5-2292
             Project: Tapestry 5
          Issue Type: Bug
    Affects Versions: 5.4
            Reporter: yiannis pericleous

Typeahead, which is used by the autocomplete mixin by default limits the results shown to

The mixin provides no way of setting the limit parameter in typeahead.

The fix is simple, introduce a 'limit' parameter in the mixin, and in autocomplete.js do something

return $field.typeahead({
  minLength: spec.minChars,
  limit: spec.limit,
  remote: {

This message was sent by Atlassian JIRA

View raw message