@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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1670,7 +1670,7 @@ function DisabledEntry(props) {
|
|
|
1670
1670
|
} = props;
|
|
1671
1671
|
|
|
1672
1672
|
const onChange = value => {
|
|
1673
|
-
editField(field, 'disabled', value);
|
|
1673
|
+
editField(field, ['disabled'], value);
|
|
1674
1674
|
};
|
|
1675
1675
|
|
|
1676
1676
|
return jsx(CheckboxInputEntry, {
|
|
@@ -2027,10 +2027,10 @@ function ValidationGroup(field, editField) {
|
|
|
2027
2027
|
onChange: onChange('maxLength'),
|
|
2028
2028
|
value: get(field, ['validate', 'maxLength'])
|
|
2029
2029
|
}), jsx(TextInputEntry, {
|
|
2030
|
-
id: "
|
|
2030
|
+
id: "pattern",
|
|
2031
2031
|
label: "Regular Expression Pattern",
|
|
2032
|
-
onChange: onChange('
|
|
2033
|
-
value: get(field, ['validate', '
|
|
2032
|
+
onChange: onChange('pattern'),
|
|
2033
|
+
value: get(field, ['validate', 'pattern'])
|
|
2034
2034
|
}));
|
|
2035
2035
|
}
|
|
2036
2036
|
|