tuain-ng-forms-lib 12.0.77 → 12.0.78

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.
@@ -1218,7 +1218,7 @@
1218
1218
  FieldDescriptor.prototype.setFieldOptions = function (newOptions) {
1219
1219
  var _this = this;
1220
1220
  var _a;
1221
- if ((this.captureType !== 'LIST' && this.captureType !== 'RADIO')
1221
+ if ((!this._formConfig.captureTypesWithOptions.includes(this.captureType))
1222
1222
  || typeof newOptions === UNDEFINED || !newOptions
1223
1223
  || !Array.isArray(newOptions)) {
1224
1224
  return;