Skip to content

Step-item: if it set clickable=false, it shoud never be clickable at any time #1506

@mk-startialab

Description

@mk-startialab

Overview of the problem

Oruga version: [0.12.3]
Vuejs version: [3.5.26]
OS/Browser: macOS 15.7.1 / Chrome 143.0.7499.170

Description

The "clickable" prop of "Step-item" can be omitted, meaning its possible internal values are undefined/true/false.
When "clickable" is undefined, the behavior follows the description: "By default, previous steps are clickable while the others are not."
However, when "clickable" is explicitly set to false, the "Step-item" should always be unclickable. In practice, when "clickable" is "false", it can still be clicked when "item.value.index < parent.value.activeIndex".

Expected behavior

When clickable is explicitly set to false, the Step-item should always be unclickable.

Actual behavior

When clickable is false, it can still be clicked when item.value.index < parent.value.activeIndex.

Steps to reproduce

As stated above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions