tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2292) Autocomplete Mixin shows only 5 suggestions
Date Mon, 30 Jun 2014 23:41:25 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048312#comment-14048312
] 

Hudson commented on TAP5-2292:
------------------------------

FAILURE: Integrated in tapestry-trunk-freestyle #1269 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/1269/])
TAP5-2292 : Autocomplete Mixin shows only 5 suggestions (thiagohp: rev b35cd7e3e5e0939e841189efe5c40d64f4d6186e)
* tapestry-core/src/main/java/org/apache/tapestry5/corelib/mixins/Autocomplete.java
* tapestry-core/src/test/app1/AutocompleteDemo.tml
* tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/autocomplete.coffee


> 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
>             Fix For: 5.4
>
>
> 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)

Mime
View raw message