I think it would be great if when adding a number field to a module, you have the option for the numbers to be either ascending or descending.
So for example, when it comes to HTML headings H6 is the smallest and H1 is the largest, so if you could have a number slider to change the heading size, and have 6 on the left side of the slider and 1 on the right side of the slider, the end user would be able to use the number slider to go from 6 to 1 and see the heading get larger as the slider is moved from left to right.
Right now my workarounds for this are not ideal:
- Option 1: Just put a H prefix in front of the number and the user can see they are changing the heading size between H1 and H6. This is not very intuitive becuase the heading gets smaller when the slider is moved from left to right, and vice versa. Intuitive design would have the heading get larger when moved from left to right, the same way adjusting volume or screen brightness works.
- Option 2: Leave out the H prefix and write some HubL code so that the heading gets larger when the number slider is moved from left to right, and gets smaller when the number slider is moved from right to left. This is more inuitive for the user, but may be confusing to some because the number shown does not reflect the actual HTML heading tag. For example, if the slider is all the way to the right the heading is now its largest size which is an H1, but the number shown on the slider is 6.
This is just one example, but I’m sure there are plenty of others where it may be useful to have the option for the number field to be either ascending OR descending.