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

[Bug Report][3.7.12] VTABS #tab slot uses :items type as item slot #20981

Closed
fabianbernhart opened this issue Feb 13, 2025 · 0 comments
Closed
Assignees
Labels
C: VTabs T: bug Functionality that does not work as intended/expected
Milestone

Comments

@fabianbernhart
Copy link

fabianbernhart commented Feb 13, 2025

Environment

Vuetify Version: 3.7.12
Last working version: 3.7.9
Vue Version: 3.5.12
Browsers: Chrome 133.0.0.0
OS: Windows 10

Steps to reproduce

use a VTabs Component with template #tab={ item} and try accesing the keys of an item

Expected Behavior

slot item typeof VuetifyTab

Actual Behavior

slot item typeof VuetifyTab[]

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

Type Changes can have important impact to Typescript Devs :). Feels like an Breaking Change to me

The idea of Generic types is a good way for more type safety.

@KaelWD KaelWD closed this as completed in 3adefb9 Feb 13, 2025
@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected C: VTabs labels Feb 13, 2025
@KaelWD KaelWD added this to the v3.7.x milestone Feb 13, 2025
@KaelWD KaelWD self-assigned this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VTabs T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants