Skip to content

Commit 4e3684b

Browse files
timstawowskibarmac
authored andcommitted
feat: present event options in tooltip
1 parent 60b7dec commit 4e3684b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/provider/camunda-platform/properties/ConditionProps.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,14 +421,26 @@ function VariableEvents(props) {
421421
});
422422
};
423423

424+
const tooltip = (
425+
<div>
426+
<p>{ translate('Specify more than one variable change event as a comma separated list. Variable change events are:') }</p>
427+
<ul>
428+
<li><code>create</code></li>
429+
<li><code>update</code></li>
430+
<li><code>delete</code></li>
431+
</ul>
432+
<a href="https://docs.camunda.org/manual/latest/reference/bpmn20/custom-extensions/extension-attributes/#variableevents" target="_blank" rel="noopener">{ translate('Documentation: Variable events') }</a>
433+
</div>
434+
);
435+
424436
return <TextFieldEntry
425437
element={ element }
426438
id="conditionVariableEvents"
427439
label={ translate('Variable events') }
428-
description={ translate('Specify more than one variable change event as a comma separated list.') }
429440
getValue={ getValue }
430441
setValue={ setValue }
431442
debounce={ debounce }
443+
tooltip={ tooltip }
432444
/>;
433445
}
434446

0 commit comments

Comments
 (0)