Add Ctrl+Enter to save comment

This commit is contained in:
Matthew Ross 2020-04-12 07:56:09 -04:00
parent cff9be1987
commit fb3d99c4dc

View File

@ -258,6 +258,7 @@
{{ strings['boards_taskDescription'] }}
<textarea name="description" rows="5"
[placeholder]="strings['boards_taskDescriptionPlaceholder']"
(keyup.control.enter)="modalProps.id === 0 ? addTask() : updateTask()"
(keyup.enter)="preventEnter($event)"
[(ngModel)]="modalProps.description"></textarea>
</label>