From 730248c1d28058e1be4f6761db761831921d49ca Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 30 Mar 2021 12:30:37 -0400 Subject: [PATCH] LP1904036 profile-select gets required option Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../src/eg2/src/app/staff/share/patron/profile-select.component.html | 1 + Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.html b/Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.html index 7784aa4ac9..73de4600fa 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.html @@ -1,5 +1,6 @@ diff --git a/Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.ts b/Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.ts index 82fc8901ed..6ee2c0451b 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.ts @@ -46,6 +46,8 @@ export class ProfileSelectComponent implements ControlValueAccessor, OnInit { // Set the initial value by ID @Input() initialGroupId: number; + @Input() required = false; + cboxEntries: ComboboxEntry[] = []; profiles: {[id: number]: IdlObject} = {}; -- 2.11.0