@sumaris-net/ngx-components 1.23.28 → 1.23.29

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.
@@ -4565,6 +4565,15 @@
4565
4565
  FormArrayHelper.prototype.at = function (index) {
4566
4566
  return this._formArray.at(index);
4567
4567
  };
4568
+ /**
4569
+ * Resize the FormArray, then apply values
4570
+ * @param data
4571
+ * @param opts
4572
+ */
4573
+ FormArrayHelper.prototype.setValue = function (data, opts) {
4574
+ this.resize((data === null || data === void 0 ? void 0 : data.length) || 0);
4575
+ this._formArray.setValue(data, opts);
4576
+ };
4568
4577
  FormArrayHelper.prototype.disable = function (opts) {
4569
4578
  this._formArray.controls.forEach(function (c) { return c.disable(opts); });
4570
4579
  };