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

ListSubModel doesn't support selection from model in chosenbox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.1
    • 8.0.0
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.1
    • None

      When setting selection on the model, on a chosenbox using a ListSubModel, the page breaks and throw Uncaught TypeError: Cannot read property 'id' of null in javascript console. (page goes to Error code 3: ZK error, after mounting after a while)

      See attached example:
      If selection is set before binding the model to the chosenbox, the error are thrown and page breaks.
      uncomment the addToSelection line to reproduce

            DevChu DevChu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m