fabbricadigitale / paper-chip

A chip web component made with Polymer 2 following Material Design guidelines
http://webcomponents.org/element/fabbricadigitale/paper-chip
MIT License
31 stars 16 forks source link

filter property is not working #76

Open bozic opened 5 years ago

bozic commented 5 years ago

When I try to set custom filter function using example on the web site, inspection of element shows that function in use is still the one from paper-chip-input

<script> let weekdays = document.querySelector("#weekdays") weekdays.filter = (data, value) => { return data.filter((item) => item[weekdays.displayProperty].toLowerCase().includes(value.toLowerCase())) } </script>

image