Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3240

ListProxy object doesn't match with original list in "selectedItems"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.0.2
    • Fix Version/s: None
    • Component/s: Databind 2
    • Labels:
    • Environment:

      Description

      Using 8.0.2 and the new form binding, when "etiquetas" property of form (of List<Etiqueta> type) has more than one element, none of them is selected so, selectedItems is empty.

      However, if vm.etiquetas is loaded using proxy manually, it works

      If etiquetas is loaded in MV this way:
      etiquetas = etiquetaService.findAll(); ===> selectedItems is empty if fx.etiquetas.size > 1
      If etiquetas is loaded in MV this way:
      etiquetas = ProxyHelper.createProxyIfAny(etiquetaService.findAll()); ==> ok

      I think We should not need to do that.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            szarza szarza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: