[richfaces-issues] [JBoss JIRA] (RF-13354) Autocomplete: suggestions stay visible after input is cleared

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Thu Nov 21 17:15:07 EST 2013


    [ https://issues.jboss.org/browse/RF-13354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925928#comment-12925928 ] 

Lukáš Fryč commented on RF-13354:
---------------------------------

As we have discussed offline with Brian and Pavol, Autocomplete specifies default value of {{minChars=1}}. This satisfies a behavior that doesn't show suggestion list when {{input.value.length < 1}}.

However in Pavol's case, he used {{minChars = 0}} that makes sure auto-completion works even for {{0}} characters in an input.

I believe the behavior is correct and compatible with RF 4.3 implementation.
                
> Autocomplete: suggestions stay visible after input is cleared
> -------------------------------------------------------------
>
>                 Key: RF-13354
>                 URL: https://issues.jboss.org/browse/RF-13354
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input, regression
>    Affects Versions: 5.0.0.Alpha2
>         Environment: RichFaces 5.0.0-SNAPSHOT
> Metamer 5.0.0-SNAPSHOT
> EAP 6.1.1
> Mojarra 2.1.19
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 31.0.1650.57 @ Linux x86_64
>            Reporter: Pavol Pitonak
>            Assignee: Lukáš Fryč
>             Fix For: 5.0.0.Alpha2
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richAutocomplete/autocomplete.xhtml
> # type "ala" into input (several suggestions will appear)
> # clear input, e.g. by using backspace key
> result:
> * the list with all available suggestions is displayed
> * in 4.3.4.Final, the suggestions are *not* displayed when input is empty

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list