Announcement

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

    Picklist entering through keyboard has issue

    Hi,

    In “SmartGwt 3.1P” when the user enters 2 digits values through keyboard for picklist its not getting selected what it is entered. Picklist contains 1 to 31 integer values. So if we enter 12 through keyboard its selected 1 and later 2.
    // Code used
    final SelectItem selectItemMultiplePickList = new SelectItem();
    selectItemMultiplePickList.setTitle("Select Multiple (PickList)");
    selectItemMultiplePickList.setMultiple(true);
    selectItemMultiplePickList.setMultipleAppearance(MultipleAppearance.PICKLIST);

    LinkedHashMap<Integer, Integer> map=new LinkedHashMap<Integer, Integer>();

    for (int i = 0; i < 31; i++) {

    map.put(i + 1, i + 1);
    }

    selectItemMultiplePickList.setValueMap(map);
    selectItemMultiplePickList.setDefaultValue(map.get(1));

    //Code finished

    We migrated from “SmartGwt 3.1P” to “SmartGwt 4.0P” even still the issue exists.

    Please let us know your comments.
    Attached Files

    #2
    Multiple-letter search is not currently a feature of the SelectItem pickList. You could use Feature Sponsorship to have it added, or, if search is important you might want to switch over to MultiComboBoxItem.

    Comment


      #3
      Note that this feature is now supported in versions 5.1 and later, in builds dated March 18 and later.
      Last edited by Isomorphic; 16 Mar 2016, 22:50.

      Comment

      Working...
      X