provide function for editing (#3613)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov
2023-08-22 10:58:22 +07:00
committed by GitHub
parent 5104e5ace6
commit f18bc8e700
@@ -109,6 +109,7 @@
shouldShowPlaceholder={true}
shouldShowName={shouldShowLabel}
onEmployeeEdit={handleAssigneeEditorOpened}
onEdit={handleAssigneeEditorOpened}
tooltipLabels={{
personLabel: employeeValue ? getEmbeddedLabel(getName(client.getHierarchy(), employeeValue)) : undefined,
placeholderLabel: placeholderLabel ?? presenter.label