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 2 years ago committed by GitHub
parent d5c96d1cb7
commit 2b63f7e707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save