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:
@@ -32,7 +32,9 @@
|
||||
{{input type='number'
|
||||
value=pollStep
|
||||
valueAttribute="value"
|
||||
min="1"
|
||||
class="poll-options-step"}}
|
||||
{{input-tip validation=minStepValueValidation}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user