Announcement

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

    Problem with combination of settings on combobox item

    Hi,

    tested with FF 18.0.2 and build from 2013-04-02.

    I have a combobox with these (besides others) settings:
    Code:
            filteredCombo.setAddUnknownValues(false);
            filteredCombo.setAllowEmptyValue(true);
            filteredCombo.setEmptyDisplayValue("-");
    Please see also modified class called MultiFieldSearchSample from showcase.

    My first problem is (based on your showcase called Multi-Field Search):
    1. See that "Item (ComboBox)" has empty display value as "-".
    2. Then select something from picklist.
    3. Then delete this selection (Select all + delete) and hit key ESC. The empty display value "-" is shown correctly.
    4. Then hit TAB key or change the focus on another filed, for example Item (Select) and you will see, that empty value "-" is gone. -> and this is the problem.

    Second problem is the same, only without hitting the ESC key. So after deleting selected option and changing the focus to another field in form (by pressing TAB or with mouse) i want my combobox to have the empty value as "-".

    Is this possible ? I think that my problems are coming from this setting "setAddUnknownValues(false)". With this setting as true everything is working like i need to. But i also want to take advantage from setAddUnknownValues(false). Can i have both, so showing empty display value and also setAddUnknownValues as false ?

    Regards,
    Fero
    Attached Files

    #2
    Any news on this issue ?

    Comment


      #3
      We have a developer assigned to this one - no information yet but we'll let you know as soon as we have something.

      Thanks
      Isomorphic Software

      Comment


        #4
        Can you please add the following details:
        - SGWT version you're using (e.g. 4.0d, 3.1p, etc.)
        - the OS you're using (Windows 7, Ubuntu Linux, etc.)
        Last edited by Isomorphic; 15 Apr 2013, 09:23.

        Comment


          #5
          This issue doesn't appear to reproduce in SC 9.0d/SGWT 4.0d; we've made a fix to SC 8.3p/SGWT 3.1p to resolve it (where it was observed) that will be in the next nightly builds.

          Comment


            #6
            Originally posted by Isomorphic View Post
            Can you please add the following details:
            - SGWT version you're using (e.g. 4.0d, 3.1p, etc.)
            - the OS you're using (Windows 7, Ubuntu Linux, etc.)
            Hi, here are details you requested:
            SGWT - SmartGWT/3.1p/PowerEdition/2013-04-02
            OS - Windows 7

            I will test the latest nightly build a let you know.
            Regards,
            Frantisek

            Comment

            Working...
            X