Topics
Published on November 27, 2016 by Mindspace

VueJS 2 is an amazing Frontend Framework! Want to transform Output? Filters allow you to do just that!
It’s a JavaScript Frontend Framework – for more Resources on JavaScript, scroll down.

Want to dive much deeper into it? Have a look at this 16+ hour course: www.udemy.com/vuejs-2-the-complete-guide/?couponCode=YOUTUBE_VUE

Want the Source Code? Go to the following Github Repository and chose the Right Branch: github.com/mschwarzmueller/vuejs2-getting-started

Also consider having a look at the Official Docs: vuejs.org/

JavaScript Resources:
Book some Coaching on Savvy now and get a $10 Discount: www.savvy.is/?ref=9fee2b (Discount Code 9fee2b)
Get my full JavaScript course: www.udemy.com/javascript-bootcamp-2016/?couponCode=YOUTUBE_PROMO
Or the ES6 course for the next Level of JavaScript: www.udemy.com/es6-bootcamp-next-generation-javascript/?couponCode=YOUTUBE_PROMOS

Liked the Video? Consider subscribing to the channel and my Newsletter (no spamming!): mschwarzmueller.com/
Liked it a lot? Why don’t you follow me on Facebook (www.facebook.com/mindspacechannel/) or Twitter (@maxedapps)?

Leave a Reply

17 Comments on "FILTERS | VueJS 2 | Learning the Basics"

Notify of
avatar

Cristian Guamán
Guest
Cristian Guamán
7 days 9 hours ago

I don't know if this video is the correct for I make you a question: What happen with 'filterBy'? thanks

Cristi Jora
Guest
Cristi Jora
16 hours 40 minutes ago

I think it was removed in vue 2.

Mindspace
Guest
Mindspace
7 days 4 hours ago

I'm not sure if I'm getting you – what are you referring to? If you mean the default filter: Vue 2 doesn't ship with any default filters.

Abu Waleed
Guest
Abu Waleed
8 days 7 hours ago

Why don't you do marketing here as you are selling this full course in Udemy. I like to see your earning more money as you helped me a lot

Mindspace
Guest
Mindspace
8 days 3 hours ago

I do market here, to, check the video description. But I also do like to have this channel to be more than just a marketing channel, therefore I don't advertise very aggressively. It is great to hear that you really like my content Abu! 🙂

leo
Guest
leo
8 days 20 hours ago

Your video is clear and easy to understand,thank you very much.

Mindspace
Guest
Mindspace
8 days 3 hours ago

Great to hear that Leo! 🙂

Jb's Ness
Guest
Jb's Ness
9 days 17 hours ago

Hi Mister Max, thanks for your video.I'am trying to filter an array with a data (string named genre) declared in the data object but I have this error : "Cannot read property 'genre' of undefined ".Any idea ?

Jb's Ness
Guest
Jb's Ness
8 days 2 hours ago

Thanks Max, you're the boss !Yes I tried "this.genre" before but as you explained it did not works.

Mindspace
Guest
Mindspace
8 days 3 hours ago

Accessing genre doesn't work, theoretically, that would be "this.genre" since it refers to the data in the instance. But that would also not work since you're in a filter function where "this" is not proxied. The following way will work though: jsfiddle.net/q3zf51ry/1/I just passed the sex as an argument to the filter

Jb's Ness
Guest
Jb's Ness
8 days 23 hours ago

thank you for your reply Mister Max (sounds better than Mindspace for me ;-),well I think so, If you have time check the JSFiddle link : jsfiddle.net/q3zf51ry/

Mindspace
Guest
Mindspace
9 days 4 hours ago

Well it sounds like your data may not be passed into the filter correctly. Try debugging that with the chrome debugger or simple console.log() statements. Does the data used in your filter have the right format?

Phillip Drake
Guest
Phillip Drake
10 days 4 hours ago

Thank you!

Mindspace
Guest
Mindspace
9 days 4 hours ago

You're welcome Phillip, happy to hear you're liking it!

rupesh sawant
Guest
rupesh sawant
10 days 19 hours ago

@mindspace can u help me in sending bulk email at a time

Raad Mo
Guest
Raad Mo
7 days 1 hour ago

What's the point? Many of them will land in spam box.

Mindspace
Guest
Mindspace
9 days 4 hours ago

Not really, since I don't offer personal coaching, sorry.

wpDiscuz