1 Reply Latest reply on Sep 10, 2010 2:50 AM by flex4

    ComboBox not Editable

    Maximist Level 1

      Hallo, I have a ComboBox with 2 values M/F in the dropdown list and i want the user choose 1 of this 2 values, nothing else. The problem is that i can write any value in the textInput of the ComboBox.. How can i set the TexTInput of the ComboBox to not Editable, so that the user can only choose elements inside the dropdown list??.. I don't see any editable property inside ComboBox..

       

      Thx a lot

       

      Max

        • 1. Re: ComboBox not Editable
          flex4 Level 2

          Hi

           

           

                        There is an editable Property in combobox u can use that editable propterty to edit the data and select the data ..

           

           

              <mx:ComboBox horizontalCenter="0" verticalCenter="0" editable="true">
                  <mx:Array>
                      <mx:String>Male</mx:String>
                      <mx:String>Female</mx:String>
                  </mx:Array>
              </mx:ComboBox>

           

           

          Thanks

          Ram