# Cannot create single-choice poll using the GUI editor

**URL:** https://meta.discourse.org/t/cannot-create-single-choice-poll-using-the-gui-editor/59654
**Category:** Bug
**Created:** [March 21, 2017, 9:13pm UTC](https://meta.discourse.org/t/cannot-create-single-choice-poll-using-the-gui-editor/59654 "2017-03-21T21:13:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![nordize](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nordize](https://meta.discourse.org/u/nordize)
#### Post date: [March 21, 2017, 9:13pm UTC](https://meta.discourse.org/t/cannot-create-single-choice-poll-using-the-gui-editor/59654/1 "2017-03-21T21:13:23Z")

</div>

I’m sorry if I’m missing something and this isn’t bug. I’m using 1.8.0.beta8 and when I click the gear icon to create a single-choice poll I see this:  
[![https://gyazo.com/91e932b524780baa2747f0dcffe7cc38](https://global.discourse-cdn.com/meta/original/3X/d/5/d5d59884e770f49ea57c4f940bd5f2a54c6d8113.png)](https://gyazo.com/91e932b524780baa2747f0dcffe7cc38)

It doesn’t let me click on **“Insert poll”** (checking _show who voted_ makes no differentce).

I can however create a poll manually by typing it in as:

```
[poll name=bla]
- Foo bar
- Bar foo
[/poll]

```

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [March 21, 2017, 9:41pm UTC](https://meta.discourse.org/t/cannot-create-single-choice-poll-using-the-gui-editor/59654/2 "2017-03-21T21:41:40Z")

</div>

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.

```plaintext
[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…

---

<div class="post-metadata">

### Author: ![nordize](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nordize](https://meta.discourse.org/u/nordize)
#### Post date: [March 21, 2017, 10:00pm UTC](https://meta.discourse.org/t/cannot-create-single-choice-poll-using-the-gui-editor/59654/3 "2017-03-21T22:00:54Z")

</div>

Indeed I should have also specified that if I choose “multiple choice” then it works (Chrome)

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [March 21, 2017, 10:38pm UTC](https://meta.discourse.org/t/cannot-create-single-choice-poll-using-the-gui-editor/59654/4 "2017-03-21T22:38:29Z")

</div>

I was looking for a work-around and found that uncovered a different bug…

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [March 21, 2017, 11:26pm UTC](https://meta.discourse.org/t/cannot-create-single-choice-poll-using-the-gui-editor/59654/5 "2017-03-21T23:26:43Z")

</div>

This occurred for myself after testing the bug fix to the [ranged number issue](https://meta.discourse.org/t/poll-plugin-min-max-step-ranges/58677/5). 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.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 5, 2017, 3:58am UTC](https://meta.discourse.org/t/cannot-create-single-choice-poll-using-the-gui-editor/59654/6 "2017-04-05T03:58:58Z")

</div>

This is fixed on latest, thanks for the report.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 6, 2017, 3:59am UTC](https://meta.discourse.org/t/cannot-create-single-choice-poll-using-the-gui-editor/59654/7 "2017-04-06T03:59:21Z")

</div>

This topic was automatically closed after 24 hours. New replies are no longer allowed.
