Announcement

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

    mutiComboBox issue

    Hello,

    Thank you for this new release 5.0. You did a great job.

    I was looking at the mutiComboBox as show in the example:
    http://www.smartclient.com/smartgwt/showcase/#multicombobox_category

    I implemented the component and I was wondering it is normal that once I typed "abc" in the input field, I cannot deleted the first letter anymore. The field stays with the letter "a". So I cannot look for an item starting with "b"

    Furthermore, I adapted the sample as the following:

    Code:
            final MultiComboBoxItem codeItem = new MultiComboBoxItem("code", "Code");
            codeItem.setOptionDataSource(CodeXmlDS.getInstance());
            codeItem.setDisplayField("code");
            codeItem.setValueField("code");
            codeItem.setAutoFetchData(true);
            codeItem.setLayoutStyle(initialLayoutStyle);
    Code:
    public class CodeXmlDS extends DataSource {
        private static CodeXmlDS instance = null;
    
        public static CodeXmlDS getInstance() {
            if (instance == null) {
                instance = new CodeXmlDS("codeDS");
            }
            return instance;
        }
    
        public CodeXmlDS(String id) {
            setID(id);
            setRecordXPath("/List/r");
            DataSourceTextField codeField = new DataSourceTextField("code", "Code", 10, true);
            setFields(codeField);
    
            setDataURL("data/code.data.xml");
    
            setClientOnly(true);
        }
    
    }
    Find the data of my datasource in attachement.

    I would like to add the code "1.1". However, once I typed "1", the form automatically select the value (c.f. screenshot). How can I prevent the form to automatically select "1" and allow me to select "1.1"?

    Thanks you for your help

    Regards,
    Samuel

    Here is my configuration:
    - Smartgwt version: Isomorphic SmartClient/SmartGWT Framework (v10.0p_2014-10-21/PowerEdition Deployment 2014-10-21)

    - Internet explorer 10.0.9200
    Attached Files

    #2
    Thanks for reporting these. Both are fixed for tomorrow's builds.

    Comment


      #3
      Is the issue also solved in 4.1p?

      Comment


        #4
        This issue affected 5.1d and 5.0p only. We tested 4.1p and did not see either issue on that branch, so no fix was necessary there.

        Regards
        Isomorphic Software

        Comment

        Working...
        X