@bpmn-io/properties-panel 3.23.0 → 3.24.1
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.esm.js +5 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2074,12 +2074,13 @@ function FeelTextfieldComponent(props) {
|
|
|
2074
2074
|
setFocus(-1);
|
|
2075
2075
|
}
|
|
2076
2076
|
};
|
|
2077
|
-
const handleLint = useStaticCallback(lint => {
|
|
2078
|
-
|
|
2077
|
+
const handleLint = useStaticCallback((lint = []) => {
|
|
2078
|
+
const syntaxError = lint.some(report => report.type === 'Syntax Error');
|
|
2079
|
+
if (syntaxError) {
|
|
2080
|
+
onError('Unparsable FEEL expression.');
|
|
2081
|
+
} else {
|
|
2079
2082
|
onError(undefined);
|
|
2080
|
-
return;
|
|
2081
2083
|
}
|
|
2082
|
-
onError('Unparsable FEEL expression.');
|
|
2083
2084
|
});
|
|
2084
2085
|
const handlePopupOpen = (type = 'feel') => {
|
|
2085
2086
|
const popupOptions = {
|