Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
<input type="text"
class="form-control"
- [attr.id]="domId.length ? domId : null"
+ id="{{domId}}"
+ [name]="name"
[placeholder]="placeholder"
[disabled]="disabled"
[(ngModel)]="selected"
// ID to display in the DOM for this selector
@Input() domId = 'eg-org-select-' + OrgSelectComponent.domId++;
+ @Input() name = '';
+
// Org unit field displayed in the selector
@Input() displayField = 'shortname';