0 points

Vue search filter


dashboard

Wed May 27 2020 15:46:10 GMT+0000 (UTC)

Posted by @flopez2020 #javascript

filteredList() {
      return this.postList.filter(post => {
        return post.title.toLowerCase().includes(this.search.toLowerCase())
      })
    }
content_copy Copy

https://codepen.io/AndrewThian/pen/QdeOVa