feat: Submit response data identifier from Single Selection items (M2-8688) #578
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 Description
🔗 Jira Ticket M2-8688
This change updates function that evaluates what to send to the BE for the response data identifier (
identifier
string), supporting both Short Text and, now, Single Selection item types. It uses the value from the first item in the activity containing a response identifier, per existing behaviour.🪤 Peer Testing
Option 1
andOption 2
.Option 1
, and submit your answers.Expected outcome: Answers should be submitted successfully.
Option 2
, and submit your answers.Expected outcome: Answers should be submitted successfully.
Expected outcome: It should contain
Option 1
andOption 2
as possible response identifiers.Option 1
response identifier from the dropdown.Expected outcome: Only your first submission should be shown.
Option 1
response identifier and select theOption 2
response identifier.Expected outcome: Only your second submission should be shown.