FIX: Infinite loop when poll step is zero (#5380)

* Fix infinite loop when poll step is zero

* Add test for step minimum and for breaking test

* Remove trailing spaces (eslint)

* Remove extra space (eslint)

* Removed test call .twice
This commit is contained in:
Eric Berry
2017-11-30 09:04:41 -07:00
committed by Régis Hanol
parent 3f8d0c5c94
commit ab22c8cad4
5 changed files with 33 additions and 2 deletions
@@ -32,7 +32,9 @@
{{input type='number'
value=pollStep
valueAttribute="value"
min="1"
class="poll-options-step"}}
{{input-tip validation=minStepValueValidation}}
</div>
{{/if}}
{{/if}}