B
B
boga-net2018-06-24 12:27:45
Vue.js
boga-net, 2018-06-24 12:27:45

How to organize search in Vue?

Hello. I want to do a search on Vue, but I did not find ready-made solutions. Although I found a couple on codepen, they are implemented on older versions of Vue. I read that filters were removed in Vue 2 and as I understand it, in earlier versions of Vue there was a similar filter and therefore live search was easier to implement. Is it difficult to make a search on the current version of Vue and are there ready-made examples so that you can figure it out, see, and familiarize yourself? Will it be difficult for a beginner? Interested in a live, simple search: I have some data and when entering in the input field, those data that do not correspond to the entered result should be filtered out
here is an example - https://codepen.io/pespantelis/pen/ojwgPB?editors=1010 but the
version used here is vue/0.12.16/vue.min.js
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lemme, 2018-06-24
@boga-net

Use the filter https://developer.mozilla.org/en-US/docs/Web/JavaS...
https://codepen.io/anon/pen/bKKOGO

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question