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

Step tabs not highlighted correctly for named routes #2568

Closed
bisubus opened this issue May 26, 2022 · 0 comments · Fixed by #2569
Closed

Step tabs not highlighted correctly for named routes #2568

bisubus opened this issue May 26, 2022 · 0 comments · Fixed by #2569
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@bisubus
Copy link
Contributor

bisubus commented May 26, 2022

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

Current behavior

Steps component highlights currently selected tab only when to route is specified by path in menu model.

Expected behavior

to route should be fully resolved by means of router.resolve when compared to current route.

Minimal reproduction of the problem with instructions

<Steps :model="model"/>
      model: [
        { to: '/foo', label: 'FOO' },
        { to: { name: 'bar' }, label: 'BAR named route' }
      ]

Demo: https://codesandbox.io/s/awesome-night-x818eu

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Vue version: 3.2.19

  • PrimeVue version: 3.12.6

  • Browser: [all ]

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label May 31, 2022
@cagataycivici cagataycivici added this to the 3.13.0 milestone May 31, 2022
tugcekucukoglu added a commit to tugcekucukoglu/primevue that referenced this issue Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants