Button Component value is not updated in case of conditional statement #36912
Open
Description
Hi,
I have tried to use the example Stepper Component and realize that the value of the Button is not updated at the last step:
I have tried other components like Box and Typography but they work as expected (update the value to the latest state). Tried to duplicate the Button Component but references to the same state value and it works only if the other Button is clicked. Can you please check, looks like the Button component misses the latest state update if it was initiated from its own onClick.
Thanks