A bug in the Discourse GUI editor prevents users from creating single-choice polls. When attempting to insert a poll, the “Insert poll” button is unclickable. nordize reported this issue in version 1.8.0.beta8.
A workaround is to change the poll type to “Multiple Choice”, insert the poll, and then change it back to “Single Choice”. However, this method does not actually produce a single-choice poll elijah.
RobMeade found that the issue is related to the poll type field not being properly set, similar to a “Please Select” option with an invalid value. The bug has been fixed in the latest version, as confirmed by Falco.
It is reproducible (by me in Firefox) here. But if I change the poll type to Multiple Choice, it’s okay to insert, and then I can change it back and it’s okay to insert.
[poll max=2]
* Enter one poll option per line
* Enter at least 2 options
[/poll]
But the poll inserted is not a single choice poll…
This occurred for myself after testing the bug fix to the ranged number issue. It would seem that the value that appears in the type field isn’t truly set, if you change the type and then change it back again it sets it properly.
A little like having a Please Select option, with no valid value, but with the wrong name in this case.