required property seems to work for eg-org-select collab/phasefx/lp1855781-circulation-policy-configuration-wip
authorJason Etheridge <jason@EquinoxOLI.org>
Fri, 16 Dec 2022 14:32:07 +0000 (09:32 -0500)
committerJason Etheridge <jason@EquinoxOLI.org>
Fri, 16 Dec 2022 20:23:42 +0000 (15:23 -0500)
well, just the styling.  Could maybe replace eg-org-select with eg-org-family-select which has some form smarts

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html

index 43010a4..9fd2698 100644 (file)
@@ -88,6 +88,7 @@
                 domId="{{idPrefix}}-{{field.name}}"
                 [limitPerms]="modePerms[mode]"
                 [readOnly]="field.readOnly"
+                [required]="field.isRequired()"
                 [applyDefault]="field.orgDefaultAllowed"
                 [applyOrgId]="record[field.name]()"
                 (onChange)="record[field.name]($event)">