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

Problems NuxtLink object and not url #18

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

Met96
Copy link
Contributor

@Met96 Met96 commented Oct 29, 2024

I found a bug when i'm arriving into a listing page from a NuxtLink when the TO is an object and not an URL, see below the example

THIS IT WORKS

    <NuxtLink  to="/?instant_search%5Btoggle%5D%5Bfree_shipping%5D=true&instant_search%5Bquery%5D=testa">
      Test query URL
    </NuxtLink>

THIS NOT WORKS

    <NuxtLink :to="{
      name: 'index',
      query: {
        'instant_search[toggle][free_shipping]': 'true',
        'instant_search[query]': 'testa',
      }
    }">
Test query OBJECT
</NuxtLink>

Perform an AI-assisted review on CodePeer.com

@Met96 Met96 added bug Something isn't working enhancement New feature or request labels Oct 29, 2024
@Met96 Met96 requested a review from Rigo-m October 29, 2024 08:29
@Met96 Met96 self-assigned this Oct 29, 2024
Copy link

netlify bot commented Oct 29, 2024

Deploy Preview for nuxt-swiftsearch ready!

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-swiftsearch/deploys/67209f91f587f4b0b0a5d64d
😎 Deploy Preview https://deploy-preview-18--nuxt-swiftsearch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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

Successfully merging this pull request may close these issues.

1 participant