Skip to content

Total number of pages via 'maxPageSelector' is incorrect #788

@MichaelDeBoey

Description

@MichaelDeBoey

Griddle version

1.11.1

Problem

When I'm implementing the Navigation myself, by copying the original and just adding

<div>of {maxPages}</div>

The shown maxPages will always result in 1, like you can see in the CodeSandbox instead of the 10 that's shown in the dropdown

The maxPageSelector that I use is the same that gets called in PageDropdownContainer, so am I still doing something wrong? 😕

CC: @dahlbyk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions