@bpmn-io/form-js-editor 0.7.1 → 0.7.2

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.cjs CHANGED
@@ -1679,7 +1679,7 @@ function DisabledEntry(props) {
1679
1679
  } = props;
1680
1680
 
1681
1681
  const onChange = value => {
1682
- editField(field, 'disabled', value);
1682
+ editField(field, ['disabled'], value);
1683
1683
  };
1684
1684
 
1685
1685
  return jsxRuntime.jsx(CheckboxInputEntry, {
@@ -2036,10 +2036,10 @@ function ValidationGroup(field, editField) {
2036
2036
  onChange: onChange('maxLength'),
2037
2037
  value: minDash.get(field, ['validate', 'maxLength'])
2038
2038
  }), jsxRuntime.jsx(TextInputEntry, {
2039
- id: "regularExpressionPattern",
2039
+ id: "pattern",
2040
2040
  label: "Regular Expression Pattern",
2041
- onChange: onChange('regularExpressionPattern'),
2042
- value: minDash.get(field, ['validate', 'regularExpressionPattern'])
2041
+ onChange: onChange('pattern'),
2042
+ value: minDash.get(field, ['validate', 'pattern'])
2043
2043
  }));
2044
2044
  }
2045
2045