From: Jane Sandberg Date: Mon, 8 Jul 2019 14:03:50 +0000 (-0700) Subject: LP1830432: Use a stub callback with registerOnTouched X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=7ae4cbb61c2fea98f36da8f4096ffb279ccb5c2d LP1830432: Use a stub callback with registerOnTouched Signed-off-by: Jane Sandberg Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.html b/Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.html index 3134751..b9bdf02 100644 --- a/Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.html +++ b/Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.html @@ -12,14 +12,14 @@
diff --git a/Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.ts b/Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.ts index 3e1e6e8..bf10232 100644 --- a/Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.ts +++ b/Open-ILS/src/eg2/src/app/share/org-family-select/org-family-select.component.ts @@ -61,6 +61,7 @@ export class OrgFamilySelectComponent implements ControlValueAccessor, OnInit { familySelectors: FormGroup; propagateChange = (_: OrgFamily) => {}; + propagateTouch = () => {}; constructor( private auth: AuthService, @@ -138,7 +139,9 @@ export class OrgFamilySelectComponent implements ControlValueAccessor, OnInit { this.propagateChange = fn; } - registerOnTouched() {} + registerOnTouched(fn) { + this.propagateTouch = fn; + } disableAncestorSelector(): boolean { return this.options.primaryOrgId === this.org.root().id();