DEV Community

mostafalaravel
mostafalaravel

Posted on

Vue-table-2 : how to customize the filter input search?

Hello,

I'm using the matfish2/vue-table-2 (server side),

<v-server-table
                    :columns="columns"
                    :options="options"
                    :url="'my-url/api/'"
                    ref="segmentTable"

                    @loading="onTableLoad"
                    @loaded="onTableLoaded"
            >
Enter fullscreen mode Exit fullscreen mode

current situation : when user search (filter) something it sends requests on every keyboard type,

Example: id user types hello it will search for h and he and hel and hell and hello

Question: how to send search request only when user type Enter ?

Thanks

Oldest comments (0)