[BUG] Question value field is not required during adding question
Opened this issue · 0 comments
sydorenkooleksii commented
Describe the bug
Question can be save with empty question value field. But not added to question list on Training Page because field is not required on UI.
To Reproduce
Steps to reproduce the behavior:
- Login.
- Navigate to competition.
- Open add new question popup.
- Add question and answer values.
- Click save.
Actual behavior
Add new question popup is closed. Question is not present in questions list.
Expected behavior
Question value field is highlighted and question value error message is displayed.
Screenshots
If save add new question empty form.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: chrome