ps-toolkit-ui 0.0.156 → 0.0.160

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.
@@ -1747,7 +1747,7 @@
1747
1747
  exports.InputType.NationalCode, exports.InputType.Sheba, exports.InputType.PostalCode, exports.InputType.Date, exports.InputType.Time].includes(type) ? ' ltr' : '');
1748
1748
  this.type = type;
1749
1749
  this.value = value;
1750
- this.default = HelperClass.clone(value);
1750
+ this.default = typeof value === 'number' ? _.cloneDeep(value) : HelperClass.clone(value);
1751
1751
  this.required = required;
1752
1752
  this.minLength = type === exports.InputType.Mobile || type === exports.InputType.Phone ? 11 :
1753
1753
  type === exports.InputType.NationalCode || type === exports.InputType.PostalCode ? 10 :