@factoringplus/pl-components-pack-v3 0.4.94-pre-18 → 0.4.94-pre-20

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.
@@ -37710,13 +37710,12 @@ const __default__$2 = {
37710
37710
  },
37711
37711
  methods: {
37712
37712
  change(item) {
37713
- console.log(item, "item");
37714
- if (item.id) {
37715
- this.$emit("change", item);
37716
- setTimeout(() => {
37717
- this.$refs.suggestionBox.blur();
37718
- }, 0);
37719
- }
37713
+ if (item.target)
37714
+ return;
37715
+ this.$emit("change", item);
37716
+ setTimeout(() => {
37717
+ this.$refs.suggestionBox.blur();
37718
+ }, 0);
37720
37719
  },
37721
37720
  validateInp(prop, isValid, message2) {
37722
37721
  this.$emit("validate", prop, isValid, message2);
@@ -37771,8 +37770,8 @@ const _sfc_main$n = /* @__PURE__ */ Object.assign(__default__$2, {
37771
37770
  default: withCtx(() => [
37772
37771
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.suggestionList, (item, index) => {
37773
37772
  return openBlock(), createBlock(_component_el_option, {
37774
- key: index,
37775
37773
  onClick: ($event) => _ctx.change(item),
37774
+ key: index,
37776
37775
  value: item.value,
37777
37776
  class: "d-flex justify-content-between align-items-center"
37778
37777
  }, {