Is it possible to implement the keyword search in lazy mode?

UI Components for Vue
Post Reply
GGolov-ziosem
Posts: 4
Joined: 19 Apr 2021, 14:41

20 Apr 2021, 10:23

I'm talking about the search implemented in these examples. Is it also possible to implement it on Enter key down instead of on input?

tugce.kucukoglu
Posts: 78
Joined: 23 Oct 2020, 09:28

21 Apr 2021, 09:29

Hi,

In lazy mode filtering is available. See the example https://codesandbox.io/s/bnp0y

Also you can use basic Vue event @keydown.enter. For example

Code: Select all

 <InputText v-model="filterModel.value" @keydown.enter="filterCallback()" />
Best Regards,

GGolov-ziosem
Posts: 4
Joined: 19 Apr 2021, 14:41

22 Apr 2021, 11:07

Good idea, I've embarrassingly completely forgotten the keydown event.

Thanks.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest