Description
Describe the bug
As an admin creating an interaction for a campaign, I expect to see the + ADD A RESPONSE
button when I have filled out the Question
text field. However, the button only appears if there is a value in the Script
field above it. There is no indication that Script
is a required field.
To Reproduce
Steps to reproduce the behavior:
- Go to the admin dashboard and initiate the creation of a new campaign
- Under the interactions section, add a script and question
- Click the
+ ADD A RESPONSE
button - Add an answer and a question, but skip the script field
- Note that the
+ ADD A RESPONSE
button is not present underneath the response - Add text to the previously skipped script field and note that the button now appears
Expected behavior
As an admin creating an interaction for a campaign, I expect to see the + ADD A RESPONSE
button when I have filled out the Question
text field.
Screenshots
Platform (please complete the following information):
- OS: macOS Catalina (10.15.2)
- Browser : Google Chrome v80
- Desktop or Mobile? Desktop
- Version v3.1.0
Possible Solutions
If it is intentional that a script is necessary to create branching questions and responses, I think the best solution to this is to disable the question field until there is a value in the script field.