-
Notifications
You must be signed in to change notification settings - Fork 5
Fix/surveys sortable questions non mandatory #314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/surveys sortable questions non mandatory #314
Conversation
lu-hamani
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine. Good to go if checks pass
lu-hamani
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moustachu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍


🎩 What? Why?
Fix validation issue on survey sortable question
The previous method did not validate correctly, all questions to be sorted were treated as mandatory questions
This PR solves this problem :
When question is mandatory -> question answers are validated
When question is not mandatory but one the question answers is checked -> question answers are validated
When question is not mandatory and no question answer is checked -> question answers are not validated and empty response is alllowed
📌 Related Issues
📋 Subtasks
CHANGELOGentry📷 Screenshots (optional)