[Feature Request] VStepper: Pass item object properties to item components #19036
Open
Description
Problem to solve
When passing an array of objects in the items
prop of VStepper, it automatically generates VStepperItem components from it. Currently, the only props of VStepperItem that can be set through these objects are value
and title
. I would like to set other props from VStepperItem too, like completed
, rules
, disabled
, icon
, etc.
Proposed solution
VStepper creates internal items from the passed-in items, which are then bound to VStepperItem. An internal item has three properties, value
, title
and raw
(the initial item - object or string). It would be easy to take over other props from the initial objects as well.
The playground shows the differences between using the items
prop and binding the items manually to VStepperItem.