Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    addUnknownValues property of MultiComboBoxItem only works with data source

    Hi,


    we noticed that when we use a MultiComboBoxItem without a data source, the property addUnknownValues is ignored - you can always add values even if it's set to false.

    This behavior does not occur when using a MultiComboBoxItem combined with a data source, therefore the example https://www.smartclient.com/smartcli...tiComboBoxItem works perfectly.


    Code to reproduce:
    Code:
     var suppliesForm = isc.DynamicForm.create({
          ID: "selectedSupplyItems",
          width: "100%",
          numCols: 1,
          titleOrientation: "top",
          items: [{
              name: "supplies",
              title: "Items",
              editorType: "MultiComboBoxItem",
              comboBoxProperties: {
                  pickListWidth: 290
              },
          valueMap: ["Value 1", "Value 2"],
          addUnknownValues: false
          }]
      });
       
      isc.VLayout.create({
          width: "100%",
          members: [selectedSupplyItems]
      })
    This is reproducable in the latest release of Smartclient 11.1 (SmartClient_v111p_2019-03-14_Pro)




    Best regards

    #2
    Thanks for the clear test case. We've made a change to address this issue.
    Please try the next nightly build dated March 19 or above

    Regards
    Isomorphic Software

    Comment


      #3
      We have tested this issue again and it seems to be not working. We can't select objects at all thorugh the GUI.
      We've reproduced it with "v11.1p_2019-03-19/Pro Deployment".
      Code:
      var suppliesForm = isc.DynamicForm.create({
          ID: "selectedSupplyItems",
          width: "100%",
          numCols: 1,
          titleOrientation: "top",
          items: [{
              name: "supplies",
              title: "Items",
              editorType: "MultiComboBoxItem",
              comboBoxProperties: {
                  pickListWidth: 290
              },
              valueMap : {1: "Option"},
              addUnknownValues: false
              }]
      });
      Best regards
      Simon
      Last edited by SimonF; 4 Apr 2019, 00:47.

      Comment


        #4
        This issue should now be resolved
        Please try the next nightly build, dated April 13 or above

        Regards
        Isomorphic Software

        Comment

        Working...
        X