Skip to content

Deselecting options with multiple: true raises TypeError: cannot read property 'query' of null #31

@muhammadarsal

Description

@muhammadarsal

I'm defining my column for multiple select2 like this:

{
    name: "location",
    label: "Location",
    cell: Backgrid.Extension.Select2Cell.extend({
        multiple: true,
        optionValues: [["Boston", 1], ["Greater Boston Area", 2], ["Alto", 3]]
    })
}

When the cell goes in edit mode selected option show just fine. But when I click on 'x' to deselect an option, console goes red with:

Uncaught TypeError: Cannot read property 'query' of null

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