ps-toolkit-ui 1.20.88 → 1.20.90

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.
@@ -6327,7 +6327,7 @@
6327
6327
  if (this.inp.onChange) {
6328
6328
  this.inp.onChange(this.inp, false);
6329
6329
  }
6330
- if (this.inp.type === exports.InputType.SelectSearch) {
6330
+ if (this.inp.type === exports.InputType.SelectSearch || this.inp.type === exports.InputType.SelectSearchRadio) {
6331
6331
  this.setOptions();
6332
6332
  }
6333
6333
  else if (e.target.value) {
@@ -6866,6 +6866,8 @@
6866
6866
  }
6867
6867
  if (_this.inp.type === exports.InputType.Number || _this.inp.type === exports.InputType.Price) {
6868
6868
  var v = vlu.toString().replace(/,/g, '');
6869
+ console.log(v, 'vvvvv');
6870
+ console.log(/^-?\d+([.,]\d+)?$/.test(v), 'testtesttest');
6869
6871
  if (!/^-?\d+([.,]\d+)?$/.test(v)) {
6870
6872
  _this.inp.error = exports.InputError.Invalid;
6871
6873
  return false;