We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Nuxt
v3.15.0
https://codesandbox.io/p/devbox/nuxt-ui3-forked-87nr2y
This is pretty cut and dry. The current link generated for "Next" is the same as "Last":
<PaginationNext v-if="showControls || !!slots.next" as-child> <slot name="next"> <UButton :color="color" :variant="variant" :size="size" :icon="nextIcon" :to="page < pageCount ? to?.(pageCount) : undefined" /> </slot> </PaginationNext> <PaginationLast v-if="showControls || !!slots.last" as-child> <slot name="last"> <UButton :color="color" :variant="variant" :size="size" :icon="lastIcon" :to=" to?.(pageCount)" /> </slot> </PaginationLast>
A change as simple as :to="page < pageCount ? to?.(page + 1) : undefined is all the love it needs.
:to="page < pageCount ? to?.(page + 1) : undefined
(I've never been involved with GitHub much, so please forgive me for not PR'ing or getting anything wrong in this bug report.)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.15.0
Reproduction
https://codesandbox.io/p/devbox/nuxt-ui3-forked-87nr2y
Description
This is pretty cut and dry. The current link generated for "Next" is the same as "Last":
A change as simple as
:to="page < pageCount ? to?.(page + 1) : undefined
is all the love it needs.(I've never been involved with GitHub much, so please forgive me for not PR'ing or getting anything wrong in this bug report.)
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: