gd-sprest-bs 10.13.2 → 10.13.3

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.
@@ -1005,6 +1005,7 @@ var Field = function (props) {
1005
1005
  var field = {
1006
1006
  control: control,
1007
1007
  controlProps: controlProps,
1008
+ setControl: function (ctrl) { control = ctrl; },
1008
1009
  getValue: function () {
1009
1010
  var fieldValue = {
1010
1011
  name: props.field.InternalName,
@@ -983,7 +983,7 @@ exports.ListForm.renderEditForm = function (props) {
983
983
  // Ensure the control is set
984
984
  var field = mapper[(_a = control.props) === null || _a === void 0 ? void 0 : _a.name];
985
985
  if (field && field.control == null) {
986
- field.control = control;
986
+ field.setControl(control);
987
987
  }
988
988
  // See if all of the controls have been rendered
989
989
  if (++ctrlCounter == totalControls) {