Open thomashagstrom opened 5 years ago
When providing a new value dynamically it doesn't change in the stepper.
value
This is because an anti-pattern is used where you both take the value as prop and keep it as local state (one or the other).
Try fixing this by removing local state.value in your component and only using props.value.
state.value
props.value
When providing a new
value
dynamically it doesn't change in the stepper.This is because an anti-pattern is used where you both take the value as prop and keep it as local state (one or the other).
Try fixing this by removing local
state.value
in your component and only usingprops.value
.