FLUID-2544: Typing a space in the slider's text box sets it to the minimum value

Metadata

Source
FLUID-2544
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
y z
Reporter
Justin Obara
Created
2009-04-06T15:15:37.000-0400
Updated
2009-05-16T13:20:16.000-0400
Versions
N/A
Fixed Versions
  1. 1.1
Component
  1. UI Options

Description

Typing a space in the slider's text box sets it to the minimum value. It should remain as what the last valid input was.

Steps to reproduce:

1) Open the UI Options example

2) Change the value in one of the slider text fields to a new valid value, and move focus to another element

3) In that same text field, replace the value with a space, and move focus away from the text field.

Notice that when focus is moved away, the value is set to the minimum value for the field, instead of the last valid value.

Environments

FF2, FF3, Opera 9.6, Safari 3.2 (Mac OS 10.5)
Safari 3.2 (Mac OS 10.4)
FF2, FF3, IE6, IE7, Opera 9.6 (Win XP)
FF3, IE7, IE8 (Win Vista)
IE6 (Win 2000)

Comments

  • y z commented 2009-05-13T14:48:50.000-0400

    Patch for the issue.

  • y z commented 2009-05-13T15:17:32.000-0400

    Updated the patch to comply with jslint

  • Justin Obara commented 2009-05-16T13:11:55.000-0400

    returning this one to open, until the patch is committed

  • Justin Obara commented 2009-05-16T13:20:16.000-0400

    Actually it was committed at revision 7174

    Verified fix using:

    IE 6, FF3 (Win XP)
    FF2, FF3, Opera 9.6 (Mac OS 10.5)