@bpmn-io/form-js-editor 0.9.4 → 0.9.6
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/assets/form-js-editor.css +13 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +3 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
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
|
-
|
|
8411
|
+
newProperties[VALUES_SOURCES_PATHS[source]] = newValue;
|
|
8411
8412
|
});
|
|
8413
|
+
newField = editField(field, newProperties);
|
|
8412
8414
|
return newField;
|
|
8413
8415
|
};
|
|
8414
8416
|
|