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

UStepper - "title" slot is returning the active step's title instead of item's title #2888

Closed
jimbatamang opened this issue Dec 12, 2024 · 1 comment
Labels
bug Something isn't working v3 #1289

Comments

@jimbatamang
Copy link

Environment


  • Operating System: Darwin
  • Node Version: v21.5.0
  • Nuxt Version: -
  • CLI Version: 3.16.0
  • Nitro Version: -
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Version

3.0.0-alpha.10

Reproduction

No production link yet

Description

The title slot should return the item's title instead of active item's title.

Usage:

<UStepper
        ref="stepper"
        v-model="activeStep"
        :items="items"
    >
        <template #title="{ item }">
            <h2>{{ item.title }}</h2>
        </template>
.....
</UStepper>

Additional context

Instead of Project to be returned in every steps, I would like to display each item's title.

Image

Logs

@jimbatamang jimbatamang added bug Something isn't working triage v3 #1289 labels Dec 12, 2024
Copy link
Member

Thanks for the report! 😊

@benjamincanac benjamincanac removed the triage label Dec 12, 2024 — with Volta.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v3 #1289
Projects
None yet
Development

No branches or pull requests

2 participants