Obojobo icon indicating copy to clipboard operation
Obojobo copied to clipboard

Fix 'Survey Only' toggle behavior in the editor for numeric questions.

Open FrenjaminBanklin opened this issue 3 years ago • 1 comments

Toggling 'Survey Only' on/off has weird effects on the editor with numeric input questions.

Example 1: Create a new question. Click 'Survey Only'. Change the question type to 'Input a number'. Though the correct/incorrect toggle does not appear (as expected for survey questions), the answer and answer type inputs are still available.

Example 2: Create a new question. Change the question type to 'Input a number'. Click 'Survey Only'. The entire answer disappears.

In both cases, after saving the module and then previewing, the question still looks and acts like a numeric input question. Providing any number yields a 'Response recorded' (as expected for survey questions), but even if providing the correct value as determined in the editor, feedback does not appear like it does for multiple choice questions.

There could be situations where it makes sense to have a numeric question that is treated like a survey question, but in those cases the feedback should probably still appear when appropriate values are provided as 'answers', and the editor needs to behave the same way it does for multiple choice questions.

FrenjaminBanklin avatar Oct 26 '21 14:10 FrenjaminBanklin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We do this to keep our backlog under control, but we thank you for your contributions.

stale[bot] avatar Sep 21 '22 05:09 stale[bot]