provide function for editing (#3613)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-08-22 08:58:22 +05:00 committed by GitHub
parent 5104e5ace6
commit f18bc8e700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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