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) {
Multiselect filter functionality
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
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests