diff --git a/frontend/views/owners/find-owners-view.ts b/frontend/views/owners/find-owners-view.ts
index 475a141..4fe938a 100644
--- a/frontend/views/owners/find-owners-view.ts
+++ b/frontend/views/owners/find-owners-view.ts
@@ -22,7 +22,14 @@ export class FindOwnersView extends View {
return html`
Find Owners
-
+
Find Owner
@@ -36,6 +43,12 @@ export class FindOwnersView extends View {
this.lastName = textField.value;
}
+ textFieldKeyUp(event: KeyboardEvent) {
+ if (event.key === 'Enter') {
+ this.findOwner();
+ }
+ }
+
findOwner() {
let targetUrl = router.urlForName('owners-list');
if (this.lastName !== '') {