@webitel/ui-datalist 1.1.44 → 1.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-datalist",
3
- "version": "1.1.44",
3
+ "version": "1.1.46",
4
4
  "description": "Toolkit for building data lists in webitel ui system",
5
5
  "scripts": {
6
6
  "build:types": "vue-tsc -p ./tsconfig.build.json",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <form class="dynamic-filter-config-form">
2
+ <form class="dynamic-filter-config-form" @submit.prevent>
3
3
  <wt-single-select
4
4
  :show-clear="false"
5
5
  :disabled="editMode"
@@ -42,7 +42,7 @@ class ContactGroupFilterConfig extends WtSysTypeFilterConfig {
42
42
  // This endpoint uses `limit = size + 1`, so the preview's `size: -1`
43
43
  // becomes `limit: 0` and returns nothing. Request as many records as
44
44
  // there are ids instead.
45
- const idsCount = Array.isArray(id) ? id.length : 0;
45
+ const idsCount = Array.isArray(id) ? id.length : 10;
46
46
  const size = idsCount || params.size;
47
47
 
48
48
  return contactGroups.getLookup({