2 Replies Latest reply on Feb 22, 2011 10:55 AM by mumcs01

    Get rid of rectangle in textinput

    mumcs01 Level 1

      I'm hoping there is an easy way to do this, but I can't find a reference to it. My goal is to use a panel with various TextInput fields in two contexts. One in display only mode, and another in edit mode. So I originally thought the best thing to do would be to change the editable field (like below) on each TextInput. That works just fine, but I want in the presentation in view mode (not edit mode) for the rectangle around the TextINput field to go away. Am I just going about this wrong? Is there a way to hide that rectangle?

       

       

       

      <s:TextInput id="type" text="{ something.getItemAt(0).type }" width="290" editable="false" />