You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sean Sullivan (JIRA)" <ji...@apache.org> on 2007/06/18 22:45:26 UTC

[jira] Commented: (WICKET-602) Highlighting/Preselecting the first item in the autocomplete list.

    [ https://issues.apache.org/jira/browse/WICKET-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505949 ] 

Sean Sullivan commented on WICKET-602:
--------------------------------------

I'd love to have this feature in Wicket 1.3   

Will you be able to commit the code before Wicket 1.3 beta 2?


> Highlighting/Preselecting the first item in the autocomplete list.
> ------------------------------------------------------------------
>
>                 Key: WICKET-602
>                 URL: https://issues.apache.org/jira/browse/WICKET-602
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>            Reporter: Dipu C Seminlal
>            Assignee: Matej Knopp
>         Attachments: autocomplete-patch.txt
>
>
> It would be nice to have the ability to specify when we construct the AutoCompleteTextField that if we need to highlight/preselect the first item in the autocomplete list
> I have added a constructor to the Autocomplete textbox where we can specify if we need preselecting 
> public AutoCompleteTextField(String id,boolean preselect)
> {
> 		this(id, (IModel)null,preselect);
> }
> and has made the corresponding changes in the Behaviours and the autocomplete js file.
> Please find the patch attached with this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.