Number form element arrows missing
We're currently upgrading Workflow from version 5.31 to 5.36. In the upgraded environment, the arrows in the number form element (allowing you to select a number by clicking) doesn't show up. Is this a bug?
-
Official comment
This change is by designer, not a bug. There are a number of reasons that the standard "number" input is problematic so we have followed the pattern used in App Designer and changed to use a text-based input element.
When you have a number input, you might accidentally change the value by scrolling the mouse wheel to scroll the page, not realizing that it has focus. Similarly, you might try to use the up/down cursor keys to scroll the page, not realizing that the number input has focus and the value changes.
Using a text-based input eliminates these problems. It also allows us to improve our support for localization and number formatting.
A similar change will be coming to the Workflow Designer in v5.37.
If you are interested to learn more about the challenges with a numeric input, this article is worth a read:
Why the GOV.UK Design System team changed the input type for numbers
-
Where do you test this (workflow sandbox, VS Web or other viewer, on-premises or SaaS environment) ?
0 -
Workflow sandbox and VS Web, on-premises
0 -
I see the same, would advice you to submit a support request.
0 -
I din't check in Mobile, but are the + and - buttons also removed there? (I would be glad.)
0 -
Thanks for the explanation, Ken Lyon. Understandable choice, although in our case the opportunity to quickly increase or decrease the number was a key part of the functionality.
0
Please sign in to leave a comment.
Comments
6 comments