Stepper select event does not trigger for current selected step

1 Answer 274 Views
Stepper
Philip
Top achievements
Rank 1
Veteran
Iron
Philip asked on 06 Apr 2022, 09:19 PM

I am following this guide in order to implement a stepper where clicking on each step opens up a modal window.

The issue is when the stepper is on the Third step for example, clicking on it again does not trigger the select event.

What would be the way to have the select event trigger when the user clicks on the current step?

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 11 Apr 2022, 08:55 AM

Hello, Philip,

You can bind to the click event on the .k-step elements to open a window.

$("#stepper").on('click', '.k-step', function(){
            	alert("open dialog");
})

Here is a small Dojo for reference.

Let me know how that works for you.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Stepper
Asked by
Philip
Top achievements
Rank 1
Veteran
Iron
Answers by
Martin
Telerik team
Share this question
or