You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/01 00:05:26 UTC
[jira] [Commented] (TAP5-2292) Autocomplete Mixin shows only 5
suggestions
[ https://issues.apache.org/jira/browse/TAP5-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048228#comment-14048228 ]
ASF subversion and git services commented on TAP5-2292:
-------------------------------------------------------
Commit b35cd7e3e5e0939e841189efe5c40d64f4d6186e in tapestry-5's branch refs/heads/master from [~thiagohp]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=b35cd7e ]
TAP5-2292 : Autocomplete Mixin shows only 5 suggestions
> Autocomplete Mixin shows only 5 suggestions
> -------------------------------------------
>
> Key: TAP5-2292
> URL: https://issues.apache.org/jira/browse/TAP5-2292
> Project: Tapestry 5
> Issue Type: Wish
> Affects Versions: 5.4
> Reporter: yiannis pericleous
> Assignee: Thiago H. de Paula Figueiredo
> Labels: autocomplete, typeahead
>
> 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: {
--
This message was sent by Atlassian JIRA
(v6.2#6252)