mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4780 - TabMenu/Steps: active option for item templating
This commit is contained in:
parent
da0b83ec08
commit
fad8a9a0ae
4 changed files with 14 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
<span :class="cx('label')" v-bind="getPTOptions('label', item, index)">{{ label(item) }}</span>
|
||||
</span>
|
||||
</template>
|
||||
<component v-else :is="$slots.item" :item="item" :index="index" :label="label(item)" :props="getMenuItemProps(item, index)"></component>
|
||||
<component v-else :is="$slots.item" :item="item" :index="index" :active="index === d_activeStep" :label="label(item)" :props="getMenuItemProps(item, index)"></component>
|
||||
</li>
|
||||
</template>
|
||||
</ol>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue