Ticket #2120 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

Value can be removed if ComboBox = nullSelectionAllowed(false)

Reported by: Mauno Haukila Owned by: Marc Englund
Priority: minor Milestone: User Interface Library 5.2.10
Component: gwt-adapter-client Version: 5.2.8
Keywords: select, combobox, setnullselectionallowed Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract:

Description (last modified by Mauno Haukila) (diff)

Quite small bug that I happened to notice on accident: If you make Select eg:

        final Select select = new Select("Test Select");
        select.setWidth("100px");
        select.setImmediate(true);
        select.setNullSelectionAllowed(false);
        select.addItem("1");
        select.addItem("2");
        select.addItem("3");
        select.setValue("1");

You should not be able not set value to "" in UI and with normal use you cant.

But if you select the selected value from ComboBox?'s input and then press delete and immediately tab, value stays at "" and no value change is sent to server. Ui shows "" and server says value is what you previously selected.

This happens with Fx3.0

Change History

Changed 4 months ago by Mauno Haukila

  • description modified (diff)

Changed 4 months ago by Joonas Lehtinen

  • milestone set to User Interface Library 5.3.0 RC

Changed 4 months ago by Joonas Lehtinen

  • priority changed from undefined to minor

Changed 3 months ago by Marc Englund

Ok, this one almost go a "worksforme" before the issue finally occurred once. Please let me know if there are other ways to reproduce, this is the only way I managed to reproduce reliably:

  1. tab to the select
  2. (current value is highlighted)
  3. enter " " (space)
  4. tab away
  5. (value changes back to "1"
  6. tab back
  7. (current value is highlighted)
  8. press delete, then tab
  9. (dropdown pops open, value is empty)
  10. click somewhere else
  11. -> popup closed, combobox empty

Changed 3 months ago by Marc Englund

  • owner changed from ticketmaster to Marc Englund
  • status changed from new to accepted

Changed 3 months ago by Marc Englund

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in [5563]

Changed 3 months ago by Marko Gronroos

  • milestone changed from User Interface Library 5.3.0 RC to User Interface Library 5.2.10

Included in 5.2.10 release.

Note: See TracTickets for help on using tickets.