From: Tiffany Little Date: Thu, 29 Dec 2022 21:04:12 +0000 (-0500) Subject: LP1953181 Adds optional LabelText to eg-combobox X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5db2e134475593119134e93ad9a00a08cb95a042;p=evergreen%2Fpines.git LP1953181 Adds optional LabelText to eg-combobox Signed-off-by: Tiffany Little --- diff --git a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html index e498670032..c5c53cfa58 100644 --- a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html +++ b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html @@ -17,8 +17,14 @@ +
+ +
+ {{labelText}} +
+
-
+ keyboard_arrow_up keyboard_arrow_down
-
+ + diff --git a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts index 735f44a64f..a7e3eb3638 100644 --- a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts +++ b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts @@ -64,6 +64,8 @@ export class ComboboxComponent // Applies a name attribute to the input. // Useful in forms. + @Input() labelText = ''; + @Input() name: string; // Placeholder text for selector input