Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2292

Autocomplete Mixin shows only 5 suggestions

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.4
    • 5.4
    • None

    Description

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

      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 like:

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

      Attachments

        Activity

          People

            thiagohp Thiago Henrique De Paula Figueiredo
            yiannnos yiannis pericleous
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: