Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Want to set one or more questions at same time but not working #58

Open
nilksinha opened this issue Jul 21, 2019 · 0 comments
Open

Want to set one or more questions at same time but not working #58

nilksinha opened this issue Jul 21, 2019 · 0 comments

Comments

@nilksinha
Copy link

I am trying to set more questions. The questions should be printed in new messages like

Question 1
Question 2
Question 3

I am trying to set question with the help of below code but it is printing the last question only i.e Question 3. As

convState.current.next = convState.newState({
type: 'select',
noAnswer: true,
name: 'dynamic-question-'+count,
questions: ['Question 1'],
});
convState.current.next = convState.newState({
type: 'select',
noAnswer: true,
name: 'dynamic-question-'+count,
questions: ['Question 2'],
});

				convState.current.next = convState.newState({
					type: 'select',
					noAnswer: true,
					name: 'dynamic-question-'+count,
					questions: ['Question 3'],
				});

Please suggest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant