Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29BA899FF for ; Sun, 26 Feb 2012 21:51:13 +0000 (UTC) Received: (qmail 69922 invoked by uid 500); 26 Feb 2012 21:51:12 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 69868 invoked by uid 500); 26 Feb 2012 21:51:12 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 69858 invoked by uid 99); 26 Feb 2012 21:51:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2012 21:51:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2012 21:51:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 276FD336D53 for ; Sun, 26 Feb 2012 21:50:49 +0000 (UTC) Date: Sun, 26 Feb 2012 21:50:49 +0000 (UTC) From: "Justin Mclean (Commented) (JIRA)" To: flex-dev@incubator.apache.org Message-ID: <330030011.21615.1330293049162.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <912928068.19888.1330195908492.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (FLEX-20) The Max value restriction in Spark NumericStepper doesn't work properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FLEX-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216943#comment-13216943 ] Justin Mclean commented on FLEX-20: ----------------------------------- We don't currently have a style guide for code patches yet so for now try and code in the same style as surrounding code. I'd suggest something like this: // Restore old value see https://bugs.adobe.com/jira/browse/SDK-31123 if (isNaN(inputValue)) { inputValue = value; } > The Max value restriction in Spark NumericStepper doesn't work properly > ----------------------------------------------------------------------- > > Key: FLEX-20 > URL: https://issues.apache.org/jira/browse/FLEX-20 > Project: Apache Flex > Issue Type: Bug > Components: Project Management > Environment: Apache FlexSDK 4.6 - Adobe FlexSDK 4.6 - Adobe FlexSDK 4.5 > Reporter: Pierangelo Mancusi > Assignee: Bertrand Delacretaz > Priority: Minor > Labels: patch > Attachments: NumericStepperPatch.txt > > > original issue: https://bugs.adobe.com/jira/browse/SDK-31123 > here a summary: > Steps to reproduce: > 1.Launch the browser with Numeric stepper. Set the min value as 10 max value as 50. Also set default values as 20. > 2.After launching the broswer clear the default value 20 and focus out from the numeric stepper. It displays "NAN" > 3. Again focus back to the numeric stepper and try to edit 3 digit value (Eg.777). Then foucs out. It doen't restrict to max value i.e"50" as set earlier in > step 1. It allows the 3 digit value enetered instead. > > Actual Results: The enetered value will be displayed > > > Expected Results: It should restrict and display the max values as set in step 1. > > > Workaround (if any): No Work around. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira