gd-sprest-bs 9.2.4 → 9.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -567,7 +567,9 @@ var Field = function (props) {
567
567
  case gd_sprest_1.SPTypes.FieldType.User:
568
568
  // Set the type
569
569
  controlProps.type = isReadonly ? core_1.Components.FormControlTypes.Readonly : peoplePicker_1.PeoplePickerControlType;
570
- // Set the flag to allow multiple selections
570
+ // Update the properties, based on the field settings
571
+ controlProps.allowGroups = props.field.SelectionGroup == gd_sprest_1.SPTypes.FieldUserSelectionType.PeopleAndGroups;
572
+ controlProps.groupId = props.field.SelectionGroup;
571
573
  controlProps.multi = props.field.AllowMultipleValues;
572
574
  // Set the rendered event
573
575
  onControlRendered = controlProps.onControlRendered;