abdfahim
Well-known member
- Affected version
- 2.1
I have the following
This has two distinct behaviour which I think is either bug or unintuitive
1) Initially, when the box is empty (value = ""), irrespective of whether I click
2) When the number reaches it's minimum (value = 0), if I click
This issue doesn't appear when I click
numberbox
in a template.
Code:
<xf:numberbox name="fieldname" value="" maxlength="10" min="0" max="20" step="5" required="{{ false }}" />
This has two distinct behaviour which I think is either bug or unintuitive
1) Initially, when the box is empty (value = ""), irrespective of whether I click
+
or -
button, it starts from the maximum value (20). I think intuitively, it should show the minimum value (0) instead.2) When the number reaches it's minimum (value = 0), if I click
-
button, I receive the following error in the consoleThis issue doesn't appear when I click
+
button at maximum (value = 20).