gd-sprest-bs 10.6.9 → 10.7.1

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.
@@ -143,6 +143,10 @@ var SPFxListFormWebPart = function (wpProps) {
143
143
  };
144
144
  // Call the rendering method
145
145
  footerProps = wpProps.onEditFooterRendering ? wpProps.onEditFooterRendering(footerProps) : footerProps;
146
+ if (footerProps) {
147
+ // Render the footer
148
+ gd_bs_1.Components.TooltipGroup(footerProps);
149
+ }
146
150
  });
147
151
  },
148
152
  renderEdit: function (el) {
@@ -214,7 +218,8 @@ var SPFxListFormWebPart = function (wpProps) {
214
218
  {
215
219
  name: "ComponentProps",
216
220
  label: "Component Properties",
217
- type: gd_bs_1.Components.FormControlTypes.TextArea
221
+ type: gd_bs_1.Components.FormControlTypes.TextArea,
222
+ value: wpProps.componentProps
218
223
  }
219
224
  ]
220
225
  });
@@ -240,6 +245,9 @@ var SPFxListFormWebPart = function (wpProps) {
240
245
  EditFormClientSideComponentProperties: null,
241
246
  NewFormClientSideComponentId: null,
242
247
  NewFormClientSideComponentProperties: null
248
+ }).execute(function () {
249
+ // Close the modal
250
+ modal.hide();
243
251
  });
244
252
  }
245
253
  }
@@ -263,6 +271,9 @@ var SPFxListFormWebPart = function (wpProps) {
263
271
  EditFormClientSideComponentProperties: values["ComponentProps"],
264
272
  NewFormClientSideComponentId: values["ComponentId"],
265
273
  NewFormClientSideComponentProperties: values["ComponentProps"]
274
+ }).execute(function () {
275
+ // Close the modal
276
+ modal.hide();
266
277
  });
267
278
  }
268
279
  }