@bpmn-io/form-js-editor 0.9.5 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -8404,11 +8404,13 @@ function ValuesSourceSelect(props) {
8404
8404
 
8405
8405
  const setValue = value => {
8406
8406
  let newField = field;
8407
+ const newProperties = {};
8407
8408
  Object.values(VALUES_SOURCES).forEach(source => {
8408
8409
  // Clear all values source definitions and default the newly selected one
8409
8410
  const newValue = value === source ? VALUES_SOURCES_DEFAULTS[source] : undefined;
8410
- newField = editField(field, VALUES_SOURCES_PATHS[source], newValue);
8411
+ newProperties[VALUES_SOURCES_PATHS[source]] = newValue;
8411
8412
  });
8413
+ newField = editField(field, newProperties);
8412
8414
  return newField;
8413
8415
  };
8414
8416
 
@@ -8532,7 +8534,8 @@ function StaticValuesSourceEntry(props) {
8532
8534
  });
8533
8535
  return {
8534
8536
  items,
8535
- add: addEntry
8537
+ add: addEntry,
8538
+ shouldSort: false
8536
8539
  };
8537
8540
  }
8538
8541