# Poll Plugin - Min / Max / Step Ranges

**URL:** https://meta.discourse.org/t/poll-plugin-min-max-step-ranges/58677
**Category:** Bug
**Created:** [2017年三月8日 23:17 UTC](https://meta.discourse.org/t/poll-plugin-min-max-step-ranges/58677 "2017-03-08T23:17:22Z")
**Posts on this page:** 6
**Page:** 1

<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: [2017年三月8日 23:17 UTC](https://meta.discourse.org/t/poll-plugin-min-max-step-ranges/58677/1 "2017-03-08T23:17:22Z")

</div>

Hi,

I wouldn’t say this is a huge issue, but something that may be worth being aware of.

Whilst experimenting with the poll functionality this evening I initially assumed that the range was set at 1 to 20. I then noticed that increasing the _step_ had a bearing on the _max_ - which in turn, if you select the highest value has a bearing on the _step_ - repeat this about 4 (I think) times and you can achieve this;

 ![](https://global.discourse-cdn.com/meta/original/3X/c/5/c56edb4ec62255c6267d5e63731f2fedcf994c08.png)

The whole browser locked up, presumably whilst hundreds more options were being dynamically added to the drop down menus. Eventually, given enough time, it responded again and I was quick to set it to something lower, but I’m guessing potentially I could keep raising these values to a literal breaking point.

As I say, it’s not a massive issue, who would be silly enough to do this anyway right? (me! /waves) - I was actually in the process of writing a little guide on how to put the polls into your posts when I started _experimenting_.

Any reason these are drop down menus and not just text boxes with some validation that a number has been entered?

Oh, and as I am writing this in the context of the world revolving solely around myself 😉 - I’ll add that having the _Show Who Voted_ option in a different order for the _Number Rating_ poll type compared to the _Single Choice_ and _Multiple Choice_ is playing havoc with my OCD (CDO)…! 🙂

* * *

Just spotted that when choosing the _Multiple Choice_ type, you can select the _Min_ value equal to the total number of options - meaning a user would have to select everything on the poll.

 ![](https://global.discourse-cdn.com/meta/original/3X/5/7/57e38de4fa5fcc88f2241799ae17e83e2ff9bea8.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2017年三月8日 23:21 UTC](https://meta.discourse.org/t/poll-plugin-min-max-step-ranges/58677/2 "2017-03-08T23:21:49Z")

</div>

Hmm definitely a bug, can you fix @tgxworld?

---

<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: [2017年三月8日 23:23 UTC](https://meta.discourse.org/t/poll-plugin-min-max-step-ranges/58677/3 "2017-03-08T23:23:03Z")

</div>

Wasn’t sure if this was supposed to go under _support_ of directly into the _plugins_ category, my apologies if not in the right place Jeff.

(and for my meddling and generating more problems!)

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2017年三月14日 16:31 UTC](https://meta.discourse.org/t/poll-plugin-min-max-step-ranges/58677/4 "2017-03-14T16:31:16Z")

</div>

Hello,

I would like to work on this.

EDIT: [Changed combo-box to number inputs for min, max and step values. by nbianca · Pull Request #4756 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/4756)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2017年三月15日 02:57 UTC](https://meta.discourse.org/t/poll-plugin-min-max-step-ranges/58677/5 "2017-03-15T02:57:18Z")

</div>

PR has been merged. Thank you @nbianca

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2017年三月15日 02:57 UTC](https://meta.discourse.org/t/poll-plugin-min-max-step-ranges/58677/6 "2017-03-15T02:57:21Z")

</div>


