2023-01-02 14:00:01 +00:00

30 lines
770 B
Markdown

---
Title: Task Comments Component
Added: v5.1.0
Status: Active
---
# [Task Comments Component](../../../lib/process-services/src/lib/task-comments/task-comments.component.ts "Defined in task-comments.component.ts")
Displays comments from users involved in a specified task and allows an involved user to add a comment to a task.
![adf-comments](../../docassets/images/adf-comments.png)
## Basic Usage Task
```html
<adf-task-comments
[taskId]="YOUR_TASK_ID"
[readOnly]="YOUR_READ_ONLY_FLAG">
</adf-task-comments>
```
## Class members
### Properties
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| readOnly | `boolean` | | Are the comments read only? |
| taskId | `string` | | The numeric ID of the task. |