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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 8.0.2
    • Databind 2

      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.

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

              Created:
              Updated: