Hi there!
I’m using the Wizard component (which is AMAZING) in my app. I am using Enable conditions on a button in a certain spot. Basically the idea is, the user cannot move on to the next step unless the conditions are met. Namely, my conditions are that
1. a field on one model is non-empty, and …
2. a different model has data rows.
Everything works great under normal circumstances. The issue I have is that, I also have a “Start over” button that uses the Action framework to empty all data from both models in question and then navigate back to step 1.
If I use that, when I come back to the step the second time around, this time the enable condition does not fire properly. That is, I can verify on the console that the conditions ought to be satisfied, but my button does not enable.
Is there something I’m missing? Perhaps a way to force a re-evaluation of the enable condition programmatically?
Any help is appreciated!
Thanks,
Hamza T.
Question
Button enable condition does not fire in certain scenario
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.