Open bozic opened 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>
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>