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

Pagination conflict with multiple components #1855

Open
unarmedwombat opened this issue Feb 15, 2025 · 1 comment
Open

Pagination conflict with multiple components #1855

unarmedwombat opened this issue Feb 15, 2025 · 1 comment

Comments

@unarmedwombat
Copy link

Have set up two components as follows:

    public function setUp(): array
    {
        return [
            PowerGrid::header(),
            PowerGrid::footer()
                ->pageName('ovdpage')
                ->showPerPage()
                ->showRecordCount(),
        ];
    }
    public function setUp(): array
    {
        return [
            PowerGrid::header(),
            PowerGrid::footer()
                ->pageName('retpage')
                ->showPerPage()
                ->showRecordCount(),
        ];
    }

However, the components still both display 'page' as the querystring parameter, resulting in conflict between the 2 components.

Laravel 11.41 Livewire 3.5.19, Power-components v6.1.12 PHP 8.3

@luanfreitasdev
Copy link
Member

I didn't have this problem. can you record a video?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants