From 6df67a0c06d3fa401eda20044b942ab62e73bf07 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 12 Jul 2021 11:42:24 -0400 Subject: [PATCH] LP#1844169: (follow-up) add validation to entry form The Search Filter Group Entries modal now enforces required fields client-side. Signed-off-by: Galen Charlton --- .../staff/admin/local/search-filter/query-dialog.component.html | 9 ++++++--- .../staff/admin/local/search-filter/query-dialog.component.ts | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.html index 9f2521164c..ad1f0140b4 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.html @@ -1,4 +1,5 @@ +
+
diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.ts index 2aefb4af52..be485e6089 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/search-filter/query-dialog.component.ts @@ -5,6 +5,7 @@ import {IdlService, IdlObject} from '@eg/core/idl.service'; import {AuthService} from '@eg/core/auth.service'; import {DialogComponent} from '@eg/share/dialog/dialog.component'; import {NgbModal} from '@ng-bootstrap/ng-bootstrap'; +import {NgForm} from '@angular/forms'; @Component({ selector: 'eg-query-dialog', -- 2.11.0