Skip to content

Commit

Permalink
feat: present event options in tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
timstawowski authored and barmac committed Jan 30, 2024
1 parent 60b7dec commit 4e3684b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/provider/camunda-platform/properties/ConditionProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,14 +421,26 @@ function VariableEvents(props) {
});
};

const tooltip = (
<div>
<p>{ translate('Specify more than one variable change event as a comma separated list. Variable change events are:') }</p>
<ul>
<li><code>create</code></li>
<li><code>update</code></li>
<li><code>delete</code></li>
</ul>
<a href="https://docs.camunda.org/manual/latest/reference/bpmn20/custom-extensions/extension-attributes/#variableevents" target="_blank" rel="noopener">{ translate('Documentation: Variable events') }</a>
</div>
);

return <TextFieldEntry
element={ element }
id="conditionVariableEvents"
label={ translate('Variable events') }
description={ translate('Specify more than one variable change event as a comma separated list.') }
getValue={ getValue }
setValue={ setValue }
debounce={ debounce }
tooltip={ tooltip }
/>;
}

Expand Down

0 comments on commit 4e3684b

Please sign in to comment.