@esfaenza/forms-and-validations 11.2.157 → 11.2.158

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.
@@ -3698,7 +3698,7 @@
3698
3698
  var _this = this;
3699
3699
  this.TmpModel = obj;
3700
3700
  var toPass = [];
3701
- if (this.UseCommaSeparatedList && obj && !obj.length)
3701
+ if (this.UseCommaSeparatedList && obj && (typeof obj === 'string' || obj instanceof String))
3702
3702
  obj = obj.split(',');
3703
3703
  //Qui arrivano solo gli id, o {id: x, description: y} in caso sono in UseKeyValues,
3704
3704
  //devo tirare fuori gli oggetti relativi e piazzarli come lista per il Model