Autocomplete show suggestions on focus

UI Components for Vue
Post Reply
lanng1991
Posts: 1
Joined: 26 Aug 2022, 18:05

24 Oct 2022, 17:01

Is there a way to show the dropdown with default suggestions list when the user focus on the input for the very first time?

The reason is that the customer might be clueless of what they should enter in the first place.

I tried to combine multiple available flags but none of them allow dropdown to show.
The only way it can show is making the component dirty, but the dirty flag only being set via the search function.

Nacros79
Posts: 18
Joined: 19 Apr 2022, 14:26

03 Mar 2023, 11:48

Use :completeOnFocus="true"
---------------------------------------------------
Nacros
I'm french, sorry for my bad english :)

bahadirsofuoglu
Posts: 84
Joined: 06 Sep 2022, 08:59

09 Mar 2023, 10:45

Hi,
Narcos, thank you for your reply. I think CompleteOnFocus will help.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests