Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ComboBoxItem and minimum number of input characters

    Hi everybody,

    I have set up a suggester using a ComboBoxItem and it works very well. The only thing I could not achieve is to prevent my suggester from sending a request to the server if the user has not inputed at least three or more characters.
    At the moment a request is sent to the server even when the user digit just one character.
    I haven't yet found a method in the ComboBoxItem API. Maybe it exists and I am just missing it or there is some ComboBoxItem method I could override to do it.

    thanks for your help

    regards

    francesco milesi

    #2
    And if you use addKeyPressHandler and cancel the event (when condition is not met) doesn't work ?

    Comment


      #3
      SmartGWT 4.0d and SmartClient 9.0d builds, available from smartclient.com/builds, now have
      support for ComboBoxItem.minimumSearchLength.

      Comment

      Working...
      X