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

Autocomplete Mixin shows only 5 suggestions

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: 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

            • Assignee:
              thiagohp Thiago H. de Paula Figueiredo
              Reporter:
              yiannnos yiannis pericleous
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: