Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Allow for passing custom label for page select in Pagination #18516

Open
1 task done
itspatys opened this issue Feb 5, 2025 · 1 comment
Open
1 task done

Comments

@itspatys
Copy link

itspatys commented Feb 5, 2025

The problem

The Pagination component doesn't allow for passing custom label to page selector. The value is hard-coded (

labelText={`Page of ${totalPages} pages`}
).

The solution

A prop to Pagination component could be introduced that would allow for providing custom label. It could accept a function with totalPages as argument.

Examples

No response

Application/PAL

No response

Business priority

Medium Priority = upcoming release but is not pressing

Available extra resources

No response

Code of Conduct

Copy link
Contributor

github-actions bot commented Feb 5, 2025

Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.

If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triage
Development

No branches or pull requests

1 participant