Looking for advice how to implement next feature:
When user start searching for item using autocomplete control (multiselect), the panel with suggestions appears. Is there a way to automatically select first item in the suggested list, so that if user clicks on enter, first item is selected? Currently user need to press arrow down (even if panel is opened on top of the input box) to select first item.
To reproduce:
- open https://www.primefaces.org/primereact/s ... tocomplete
- start typing in 'Multiple' autocomplete
- click enter - nothing happen
- click arrow down and then enter - first item is selected
Any help is really appreciated.
Regards,
VB
AutoComplete: autoselect first item
-
- Posts: 4637
- Joined: 29 Jun 2013, 12:38
Hi,
Please use autoHighlight property on 6.0.2;
https://github.com/primefaces/primereact/issues/1801
Best Regards,
Please use autoHighlight property on 6.0.2;
https://github.com/primefaces/primereact/issues/1801
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest