Browse Source
Feature/support enter to submit create or update transaction dialog form (#913)
* Support enter key press to submit form
* Update changelog
pull/920/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
0 deletions
-
CHANGELOG.md
-
apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html
|
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
- Supported enter key press to submit the form of the create or edit transaction dialog |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed the date format of the date picker and support manual changes |
|
|
|
|
|
@ -1,6 +1,7 @@ |
|
|
|
<form |
|
|
|
class="d-flex flex-column h-100" |
|
|
|
[formGroup]="activityForm" |
|
|
|
(keyup.enter)="activityForm.valid && onSubmit()" |
|
|
|
(ngSubmit)="onSubmit()" |
|
|
|
> |
|
|
|
<h1 *ngIf="data.activity.id" mat-dialog-title i18n>Update activity</h1> |
|
|
|