Skip to content

Custom filter doesn't work with checkboxes any more #14

@mir4ef

Description

@mir4ef

Hi,

I have checkboxes (Angular Material's <md-checkbox>) that I use as custom filters to remove/add rows based on rules (e.i. exclude rows where the sale price is below $1, etc.). Everything used to work fine before one of the recent updates. Now, the value being passed to the filter is always undefined. However, the ng-model value is getting updated correctly. Here is a codepen to illustrate. As you can see in the example, when you check the checkbox, ng-model updates, but not the customFilters's filter value. So I had to redeploy a version of dataGrid(.min).js I had from June 30th to get it working again. Here is a codepen with the older file that is working. As a side note, I am using Angular Material v1.0.9 on my dev and non dev environments, but the issue occurs even with plain checkboxes (as show in the codepens above). Also, as a test, I tried plain text input, but same result as ng-model is not being passed to the customFilters. Hope this helps! If I am missing something or I am not clear enough, please let me know :) Thank you!

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