Skip to content

Ember 2.2.0 / Ember Data 2.2.0 page-numbers error #153

@drewclauson

Description

@drewclauson

When migrating to Ember 2.2.0, I get the errors in the browser console. {{page}} and {{totalPages}} output to make sure they are computed correctly

Template:

{{page-numbers currentPage=page totalPages=totalPages showFL=true}}
Page: {{page}} Total:{{totalPages}}

Errors:

no currentPage for page-numbers
no totalPages for page-numbers
no int for currentPage val is undefined
no int for totalPages val is undefined
no int for currentPage val is NaN
no int for totalPages val is NaN
no int for totalPages val is NaN
no int for totalPages val is NaN

Here is the output.
image

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