Skip to content

Null items in the list object items makes all the other items not be previewied #127

@ghost

Description

Whenever I try to preview a list with a null item e.g.

[{"id": 18855, "kind": null, "type": "484", "description": null, "name": "JOHN DOE"}]

The error is as shown below.
The error is caused by the null in description.

Uncaught TypeError: Cannot read property 'toString' of null
at HTMLElement._cast (paper-datatable/paper-datatable-column.html:346:19)
at HTMLElement._formatValue (paper-datatable/paper-datatable-column.html:298:18)
at cells.forEach (paper-datatable/paper-datatable.html:632:66)
at Array.forEach (native)
at HTMLElement. (paper-datatable/paper-datatable.html:590:14)
at Debouncer.complete (polymer/polymer-mini.html:2094:10)
at Debouncer.boundComplete (polymer/polymer-mini.html:2071:6)
at Object._atEndOfMicrotask (polymer/polymer-mini.html:2049:1)
at MutationObserver.window.MutationObserver.observe.characterData (polymer/polymer-mini.html:2064:15)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions