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

Dipu C Seminlal updated WICKET-602:
-----------------------------------

    Attachment: autocomplete-patch.txt

> 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
>         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.

Reply via email to