Skip to content

Possibility and best approach to define page names when there are several tables on one page #1233

Closed Answered by luanfreitasdev
lsmedia asked this question in Q&A
Discussion options

You must be logged in to vote
    #[Url(as: 'page', keep: true)]
    public string|int $page = 1;

    public function updatedPaginators($value): void
    {
        $this->page = $value;
    }

    public function hydratePage(): void
    {
        $this->paginators['page'] = $this->page;
    }

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@luanfreitasdev
Comment options

@luanfreitasdev
Comment options

@lsmedia
Comment options

Answer selected by lsmedia
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants