Polls: Console error if min=1 and max=1
GENERAL
TESTING
GENERAL
TESTING
Description
Attachments
2
Activity
Show:
Details
Details
Priority
Affects versions
23 Status
Please Merge
22 Status
Please Merge
Components
Assignee

Reporter

Environment
nightly servers
Created February 26, 2025 at 10:20 PM
Updated February 27, 2025 at 11:47 PM
Polls with having 1 for both “What is the minimum number of Answer Options that can be selected?” and “What is the maximum number of Answer Options that can be selected?” have a console error because there is no reset button (see )
No error if the max is higher than 1:
Firefox
Uncaught TypeError: resetButtonElem is null
<anonymous> https://trunk-maria.nightly.sakaiproject.org/portal/site/07bfa878-74c0-47e8-b3b7-c8bae5255cf2/tool/89b91446-03bf-4db6-9a19-940e0daddffa/voteQuestion?id=2:1140
voteQuestion:1140:3
Learn more:
Edge
voteQuestion?id=1:1322
Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
at voteQuestion?id=1:1322:19