gd-sprest-bs 10.6.3 → 10.6.5

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.
@@ -1107,10 +1107,6 @@ var Field = function (props) {
1107
1107
  // Add the field value
1108
1108
  userValue.Id ? fieldValue.value.results.push(userValue.Id) : null;
1109
1109
  }
1110
- // Clear the value if no values exist
1111
- if (fieldValue.value.results.length == 0) {
1112
- fieldValue.value = null;
1113
- }
1114
1110
  }
1115
1111
  else {
1116
1112
  var userValue = fieldValue.value ? fieldValue.value[0] : null;
@@ -44,7 +44,7 @@ var _SPFxWebPart = /** @class */ (function () {
44
44
  // Set the page context
45
45
  gd_sprest_1.ContextInfo.setPageContext(this._props.spfx.context.pageContext);
46
46
  // Set the configuration
47
- this.Configuration = this._props.wpCfg;
47
+ this.Configuration = this._props.spfx.properties.configuration;
48
48
  // See if this is the workbench
49
49
  if (window.location.pathname.indexOf("workbench.aspx") > 0) {
50
50
  // Set both flags to render edit/display
@@ -133,7 +133,7 @@ var _SPFxWebPart = /** @class */ (function () {
133
133
  }
134
134
  }
135
135
  // Call the render event
136
- this._props.render ? this._props.render(elWP) : null;
136
+ this._props.render ? this._props.render(elWP, this.Configuration) : null;
137
137
  };
138
138
  // Method to render the edit interface
139
139
  _SPFxWebPart.prototype.renderEdit = function () {