[Vuejs]-Vue filter in component

0👍

Refer to this to get more information why your filter does not work.

And then refer to this to learn how to use two-way-filters

👤Roland

0👍

Another option is to validate the input on the onchange event

I modified your code a bit for a working example: https://codesandbox.io/s/4rr9nv1p70

You find it in the file App.vue

👤Greaka

Leave a comment