Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-25049

Clearing errorString on TextInput control, prevents error border from showing up on subsequent validation attemps

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.5 (Release)
    • None
    • mx: TextInput
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Sample application showing the issue attached. The issue seems to be that once the "errorString" property of a TextInput control is set to "" to clear out the red error border, any future calls to Validator.validateAll fail to display the red error border on that control. This is a regression since it works as expected in version 3.3

      Steps to reproduce:
      1. Launch the sample application and click the button. Note that the red error border shows up on all three TextInput fields, which is expected.
      2. Now type "a" into the Name field. Note that all the error borders are cleared which is expected since the code sets the errorString property to "" on the Domain and Cookie fields.
      3. Click on the button again. Note that the red error border does not show up on Domain or Cookie fields.

      Actual Results:
      Note that the red error border does not show up on Domain or Cookie fields.

      Expected Results:
      The red error border should show up on Domain or Cookie fields, since they have been set to be required fields.

      Workaround (if any):

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: