6 Replies Latest reply on May 27, 2010 12:53 PM by tehxike1

    Tab not working between fields

    tehxike1 Level 1

      For some reason the tab key doesn't work between fields in my skin.  I've had this problem before- but I accidentally fixed it without knowing what the root cause was.  Does anyone know what would prevent tabbing from working in this example?  (The problem exists if I replace the promptingtextinput's with textinput's still, in which case everything is vanilla flex.)

       

      <?xml version="1.0" encoding="utf-8"?>
      <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   xmlns:components="com.woo.components.*">
          <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
          </fx:Declarations>
         
          <fx:Metadata>
              [HostComponent("com.woo.security.view.LoginView")]
          </fx:Metadata>
         
          <s:Group>
              <s:layout>
                  <s:VerticalLayout />
              </s:layout>
             
              <components:PromptingTextInput id="usernameText" prompt="username"/>
              <components:PromptingTextInput id="passwordText" prompt="password" displayAsPassword="true"/>
              <s:Button id="loginButton" label="Login" />
              <s:Label id="errorText" includeInLayout="false" />
          </s:Group>
         
      </s:SparkSkin>