Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2526

UISelectOne - Allow to know which index was selected

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.20.1.Final
    • Fix Version/s: 3.0.0.Alpha2
    • Component/s: UI - API
    • Labels:
      None

      Description

      When using the UISelectOne then you cannot today know which index the user selected, whether it was the first, the last, or some other in between.

      You can only get the value, and then from the value you need to determine yourself if it was the first, last etc.

      Also due to bug FORGE-552 the returned value can be invalid, and you would not have a way of know exactly what was selected.

      To be able to get the index would be great. This is also what other UI frameworks offers in both Java and Javascript etc.

      The same thing would be nice on the change listener, where its applicable.

        Attachments

          Activity

            People

            Assignee:
            gastaldi George Gastaldi
            Reporter:
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: