Multiselect filter functionality

UI Components for Angular
Post Reply
kcsahoo
Posts: 43
Joined: 01 Sep 2016, 15:02

12 Oct 2016, 11:24

Presently the filter works with 'StartsWith' clause.
A better filter will be with 'Contains' clause.
I suggest changing line # 198 in multiselect.js with

if (option.label.toLowerCase().indexOf(this.filterValue.toLowerCase()) >= 0) {

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

13 Oct 2016, 17:45

This should be configurable as usally in PrimeFaces.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests