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

*Texts are concatenated #7

Open
fogskum opened this issue Feb 21, 2022 · 3 comments
Open

*Texts are concatenated #7

fogskum opened this issue Feb 21, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@fogskum
Copy link

fogskum commented Feb 21, 2022

Describe the bug
Settings e.g. NextText will be concatenated with hard coded value

To Reproduce
Steps to reproduce the behavior:
Set NextText="Next"

Expected behavior
Title should say "Next" but it says "NextGo to next page"

@villainoustourist villainoustourist self-assigned this Feb 22, 2022
@villainoustourist villainoustourist added the bug Something isn't working label Feb 22, 2022
@villainoustourist
Copy link
Owner

How are you setting the text? - and what version are you on?

The example solution has the following (with slight modifications) - and it seems to work:

<BlazorPager CurrentPage="@_data.CurrentPage" PageCount="@_data.PageCount" VisiblePages="3" ShowFirstLast="true" ShowPageNumbers="true" FirstText="&laquo;" LastText="&raquo;" NextText="This is a test?" PreviousText="&lsaquo;" OnPageChanged="(async e => { _page = e; await GetData();})"> </BlazorPager>

@urudnicka
Copy link

I have the same issue and the version I'm using is 0.2.16. You just hard-coded it in BlazorPagination.razor and changing it via NextText="Next" and PreviousText="Prev" only concatenates both values.

@SimoneOttavianelliITR
Copy link

Does anyone know how to change the title of the buttons to go back and forth pages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants