Skip to content
New issue

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

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

Already on GitHub? # to your account

Choice interface doesn't match API results #110

Open
shawnsmsu opened this issue Nov 28, 2023 · 0 comments
Open

Choice interface doesn't match API results #110

shawnsmsu opened this issue Nov 28, 2023 · 0 comments

Comments

@shawnsmsu
Copy link

Description

Response.answers.choice.other was removed in 1.12.1. However, if you have a Multiple Choice with Multiple selection disabled and "Other" option enabled, the API still returns in the structure:

"choice": { "id": "other", "other": "foo bar" }

Expected Behavior

I would expect the API's interfaces allow a developer to collect answer.choice.other if the API returns that structure.

Possible Solution

Could add other field to Choice interface.

Steps to Reproduce

With a Multiple Choice answer with Multiple selection disabled and "Other" option enabled, it was previously read by using answer.choice.other but this no longer compiles.

Your Environment

  • Client Version: 1.12.1 thru at least 1.15.2
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant