@sumaris-net/ngx-components 2.2.1-rc11 → 2.2.1-rc13
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.
- package/esm2020/src/app/core/form/form.utils.mjs +3 -3
- package/fesm2015/sumaris-net.ngx-components.mjs +2 -2
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +2 -2
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/form.utils.d.ts +1 -1
|
@@ -4632,7 +4632,7 @@ class AppFormArray extends UntypedFormArray {
|
|
|
4632
4632
|
* @param options
|
|
4633
4633
|
*/
|
|
4634
4634
|
setValue(values, options) {
|
|
4635
|
-
if (this.options?.
|
|
4635
|
+
if (this.options?.allowReuseControls === false) {
|
|
4636
4636
|
const disabled = this.disabled;
|
|
4637
4637
|
// Clean all
|
|
4638
4638
|
this.resize(0, { emitEvent: options?.emitEvent });
|
|
@@ -4654,7 +4654,7 @@ class AppFormArray extends UntypedFormArray {
|
|
|
4654
4654
|
}
|
|
4655
4655
|
}
|
|
4656
4656
|
patchValue(values, options) {
|
|
4657
|
-
if (this.options?.
|
|
4657
|
+
if (this.options?.allowReuseControls === false) {
|
|
4658
4658
|
const disabled = this.disabled;
|
|
4659
4659
|
// Clean all
|
|
4660
4660
|
this.resize(0, { emitEvent: options?.emitEvent });
|