Widget match returning wrong order of widgets
🐜 Bug report
🔧
Widget Match function returns wrong question widget for a given question type What is the expected behaviour?
GIVEN I create a Quad question
AND I go on the preview of that question
THEN I should see the Quad Question widget with the four provided answers
What is the actual behaviour?
GIVEN I create a Quad question
AND I go on the preview of that question
THEN I see the fallback question widget
Steps to Reproduce
Example:
- Create a new Quad Question, or find an existing one
- Click on the preview of that question (click on pencil icon)
- You should see the wrong question preview
Screenshots
Files
- widgets.service.ts