@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.esm.js
CHANGED
|
@@ -2053,12 +2053,13 @@ function FeelTextfieldComponent(props) {
|
|
|
2053
2053
|
setFocus(-1);
|
|
2054
2054
|
}
|
|
2055
2055
|
};
|
|
2056
|
-
const handleLint = useStaticCallback(lint => {
|
|
2057
|
-
|
|
2056
|
+
const handleLint = useStaticCallback((lint = []) => {
|
|
2057
|
+
const syntaxError = lint.some(report => report.type === 'Syntax Error');
|
|
2058
|
+
if (syntaxError) {
|
|
2059
|
+
onError('Unparsable FEEL expression.');
|
|
2060
|
+
} else {
|
|
2058
2061
|
onError(undefined);
|
|
2059
|
-
return;
|
|
2060
2062
|
}
|
|
2061
|
-
onError('Unparsable FEEL expression.');
|
|
2062
2063
|
});
|
|
2063
2064
|
const handlePopupOpen = (type = 'feel') => {
|
|
2064
2065
|
const popupOptions = {
|