@bpmn-io/form-js-editor 1.8.2 → 1.8.3

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.es.js CHANGED
@@ -1060,7 +1060,7 @@ function EditorHtml(props) {
1060
1060
  class: "fjs-form-field-placeholder",
1061
1061
  children: [jsx(Icon, {
1062
1062
  viewBox: "0 0 54 54"
1063
- }), "Html is empty"]
1063
+ }), "Html view is empty"]
1064
1064
  })
1065
1065
  });
1066
1066
  }
@@ -1071,7 +1071,7 @@ function EditorHtml(props) {
1071
1071
  class: "fjs-form-field-placeholder",
1072
1072
  children: [jsx(Icon, {
1073
1073
  viewBox: "0 0 54 54"
1074
- }), "Html is populated by an expression"]
1074
+ }), "Html view is populated by an expression"]
1075
1075
  })
1076
1076
  });
1077
1077
  }
@@ -1082,7 +1082,7 @@ function EditorHtml(props) {
1082
1082
  class: "fjs-form-field-placeholder",
1083
1083
  children: [jsx(Icon, {
1084
1084
  viewBox: "0 0 54 54"
1085
- }), "Html is templated"]
1085
+ }), "Html view is templated"]
1086
1086
  })
1087
1087
  });
1088
1088
  }
@@ -1163,13 +1163,14 @@ function EditorExpressionField(props) {
1163
1163
  field
1164
1164
  } = props;
1165
1165
  const {
1166
- expression = ''
1166
+ expression = '',
1167
+ key
1167
1168
  } = field;
1168
1169
  const Icon = iconsByType('expression');
1169
1170
  const expressionLanguage = useService$1('expressionLanguage');
1170
1171
  let placeholderContent = 'Expression is empty';
1171
1172
  if (expression.trim() && expressionLanguage.isExpression(expression)) {
1172
- placeholderContent = 'Expression';
1173
+ placeholderContent = `Expression for '${key}'`;
1173
1174
  }
1174
1175
  return jsx("div", {
1175
1176
  class: editorFormFieldClasses(type),