Skip to content

Pagination quick jumper accepts any value #663

@ansabamane

Description

@ansabamane

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  • Navigate to QuickJumper
  • Enter any string in the 'Go to Page' field
  • It accepts any field.

What is expected?

This should be restricted to numbers as page numbers are of type number.

What is actually happening?

You can enter any string inside QuickJumper, when you have pages as number.

Environment Info
rc-pagination 5. 1.0
React 18.2.0
System windows, wsl
Browser chrome

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