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

TabMenu: index of menu item must be accessible in slot #3393

Closed
forNoor opened this issue Dec 12, 2022 · 0 comments
Closed

TabMenu: index of menu item must be accessible in slot #3393

forNoor opened this issue Dec 12, 2022 · 0 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@forNoor
Copy link

forNoor commented Dec 12, 2022

Describe the feature you would like to see added

hi,
now in slot only item is passed. but sometimes index of elemet is required.
suppose we want to title element by index of that element.
I had to make this change in the tabmenu code to meet my needs.
<component v-else :is="$slots.item" :item="item" :index = i></component>

Is your feature request related to a problem?

No response

Describe the solution you'd like

<component v-else :is="$slots.item" :item="item"></component>

must be changed to:

<component v-else :is="$slots.item" :item="item" :index = i></component>

Describe alternatives you have considered

No response

Additional context

No response

@forNoor forNoor added Status: Discussion Issue or pull request needs to be discussed by Core Team Type: New Feature Issue contains a new feature or new component request labels Dec 12, 2022
@tugcekucukoglu tugcekucukoglu added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add and removed Status: Discussion Issue or pull request needs to be discussed by Core Team Type: New Feature Issue contains a new feature or new component request labels Dec 14, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.22.0 milestone Dec 14, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this Dec 14, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this Jan 9, 2023
@tugcekucukoglu tugcekucukoglu changed the title TabMenu: index of TebMenu element must be accessible in slot TabMenu: index of menu item must be accessible in slot Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

3 participants