Open frjo opened 1 month ago
This is a long standing bug I believe. The textarea gets set to "required" even when hidden by the TinyMCE editor.
The rich text field does not have this issue. So it is the implementation in ScoredAnswerWidget that likely is at fault.
ScoredAnswerWidget
[Error] An invalid form control with name='71bfe95d-89c5-401b-ae7a-778e91d5c8c5_0' is not focusable.
https://github.com/HyphaApp/hypha/blob/5eb6cae7edd91fae8b640d3cb94606b4a7e99fd8/hypha/apply/review/fields.py#L10-L54
This is a long standing bug I believe. The textarea gets set to "required" even when hidden by the TinyMCE editor.
The rich text field does not have this issue. So it is the implementation in
ScoredAnswerWidget
that likely is at fault.[Error] An invalid form control with name='71bfe95d-89c5-401b-ae7a-778e91d5c8c5_0' is not focusable.
https://github.com/HyphaApp/hypha/blob/5eb6cae7edd91fae8b640d3cb94606b4a7e99fd8/hypha/apply/review/fields.py#L10-L54