8000 filter property is not working · Issue #76 · fabbricadigitale/paper-chip · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
filter property is not working #76
Open
@bozic

Description

@bozic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0