ps-toolkit-ui 1.6.45 → 1.6.46

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.
@@ -1232,16 +1232,13 @@
1232
1232
  try {
1233
1233
  // @ts-ignore
1234
1234
  window[fn] = function (s) {
1235
- if (inp.type === exports.InputType.SelectAutoComplete) {
1236
- inp.setSearch(s);
1237
- }
1238
- else {
1235
+ if (inp.type === exports.InputType.Text) {
1239
1236
  inp.setValue(s, false);
1237
+ setTimeout(function () {
1238
+ $__namespace('#' + inp.name + 'Input .control').click();
1239
+ inp.focus();
1240
+ }, 100);
1240
1241
  }
1241
- setTimeout(function () {
1242
- $__namespace('#' + inp.name + 'Input .control').click();
1243
- inp.focus();
1244
- }, 100);
1245
1242
  if (inp.onBarcodeReaderChange !== null) {
1246
1243
  inp.onBarcodeReaderChange(s);
1247
1244
  }