onshore-forms 0.0.17 → 0.0.18

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.
@@ -166,11 +166,17 @@ class OnshoreFormsService {
166
166
  this._formValidations = validations;
167
167
  }
168
168
  enable() {
169
+ this._formTemplate.forEach((item) => {
170
+ item.enabled = true;
171
+ });
169
172
  setTimeout(() => {
170
173
  this._form?.enable({ onlySelf: true, emitEvent: false });
171
174
  }, 100);
172
175
  }
173
176
  disable() {
177
+ this._formTemplate.forEach((item) => {
178
+ item.enabled = false;
179
+ });
174
180
  setTimeout(() => {
175
181
  this._form?.disable({ onlySelf: true, emitEvent: false });
176
182
  }, 100);