Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Spinner item increments to "2" instead of "1" when it is empty

    SmartClient Version: v10.0p_2015-05-03/LGPL Development Only (built 2015-05-03)

    Browsers Involved:
    1. IE 11
    2. Chrome (Latest)

    We don't believe this is browser specific.

    Sample code is attached.

    Sample Instructions:
    1. Click in the spinner 'Test 1' field
    2. Press the up arrow key

    Expected: The spinner value should be 1
    Actual: The spinner value is 2
    Attached Files

    #2
    You've set a minimum of 1, so the next value is 2.

    If you would argue that "1" is the correct value to show when hitting up arrow from blank, then for consistency, for a spinner with a min of 0, "0" should appear if you hit up arrow on a blank spinner. But that seems obviously incorrect.

    If you don't think the behavior for an initially blank spinner field is self-explanatory enough, we'd recommend either:

    1. populating it with 1 by default

    OR

    2. installing a ChangeHandler to specialize the behavior for transitions from null to some non-null value.

    Comment


      #3
      Thank you for the quick response.

      This issue was escalated by our customers, who believe this behavior is not intuitive.

      We'll implement option 2 to resolve the issue.

      Regards,
      Brad

      Comment

      Working...
      X