Topic: MDBStepper how to disable default behaviours
                  
                  Mazzilli
                  priority
                  asked 4 years ago
                
Expected behavior I'm looking for a solution to completely disable the click behaviour. I prefer to control stepper behaviour by myself, using react and redux state. Following API guide I can build control buttons and change step using react, but if user click directly the step, this will change.
Is there any way to disable the click or to handle the onClick event when user click one step?
Thanks, Luca
                      
                      Wojciech Staniszewski
                      staff
                        answered 4 years ago
                    
Currently, this is not possible, but we will add this feature in the next releases. Keep coding!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
 - Premium support: Yes
 - Technology: MDB React
 - MDB Version: MDB5 1.0.0-beta6
 - Device: pc
 - Browser: chrome
 - OS: win
 - Provided sample code: No
 - Provided link: No
 
Wojciech Staniszewski staff commented 4 years ago
If I understand, You want to disable the onClick event on
.stepper-headelements?Mazzilli priority commented 4 years ago
Yes that's right, I want to manage the step change from other external components (for example MDBBtn) and inhibit the click directly on the steps