@formixru/b2b-ui 4.2.0 → 4.2.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formixru/b2b-ui",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -254,7 +254,10 @@ const cancelRequest = () => {
254
254
  isLoading.value = false;
255
255
  };
256
256
 
257
- const handleInput = () => {
257
+ const handleInput = async () => {
258
+ // Ждём, чтобы model.value точно обновилось (может быть задержка из-за v-model/@update:model-value в SearchInput)
259
+ await nextTick();
260
+
258
261
  if (model.value.length >= props.minlength) {
259
262
  _debouncedGetSuggests(model.value);
260
263
  } else {