Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8124891

ChoiceBox keeps selected item when the underlying collection is replaced.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • javafx
    • jdk1.8.0b83

    Description

      To reproduce:
      1. Click 'Set data' button.
      2. Select any item.
      3. Push 'Show selected item' button. It will print out selected item value.
      4. Push 'Set empty list' button.
      =>Push 'Show selected item' button. It will print out previous selected item value.
      Expected behavior is to recieve 'null'.

      Attachments

        Activity

          People

            psomashe Parvathi Somashekar (Inactive)
            dzinkevi Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: