1 Reply Latest reply on Dec 26, 2007 4:42 PM by elagee

    ComboBox: how to limit no. of chars

    elagee
      How do I limit the number of characters that can be entered in an editable ComboBox control? I was looking for something similar to the maxChars property that a TextInput control has.
        • 1. Re: ComboBox: how to limit no. of chars
          elagee Level 1
          Well, I'm not sure if there is another way to do this, but basically I've resorted to listening for the change event, and if the length of the ComboBox's text property is greater than what I want, I just get a substring with the required number of characters, and set this as the value of the ComboBox's text property.