Open DivTheDev opened 4 years ago
hello @divyesh26 looking at this issue, the next component would not be called because the trigger props is set to boolean in your state. ie in the medical condition component. try passing in the next step you want to be called and that should resolve your issue. ie
constructor(props) {
super(props);
this.state = {
stepIndex: this.props.stepIndex,
loading: true,
value: '',
trigger:'2',
steps: this.props.steps,
waitAction: this.props.step.waitAction
};
}
note that the trigger was changed from 'boolean' to '2' which is a string. hope this helps
Description
After creating a step with a custom component (id 3) and then display a message after it (id 4), the trigger for this step with the message is not triggering, which is currently set to five. I have tried changing the trigger and still getting the same issue.
Screenshots