--const modalTrigger = document.querySelector("[data-modal]),
++const modalTrigger = document.querySelector("[data-modal]"),// Фильтрация элементов, удовлетворяющих хотя бы одному из слов
--  const filtered = data.filter(function(item) {
++  const filtered = data.items.filter(function(item) {
    const text = (item.code || '') + ' ' + (item.name || '');
    return words.every(function(word) {
      return text.toLowerCase().indexOf(word) >= 0;
    });
  });<form style="position:relative" target="area" method="POST">	    
        <input id="texexpert" name="texe"class="header-search-input" autocomplete="off" placeholder="Искать"  value="" >
        <input id="button" class="texex" type="submit" title="Нажмите,чтобы найти">
  </form
<script>
$('.texex').on('click', function(e){
  e.preventDefault();
  const texex = document.querySelector("input[name='texe']").value;
  sessionStorage.setItem('texexperto', texex);
  const texoton = sessionStorage.getItem('texexperto');
  console.log(texoton);
 });
</script>Запись содержимого iframe с другого домена
Чтобы Вебвизор записал содержимое iframe, адрес которого отличается от адреса сайта, настройте счетчик особым образом.
<autocomplete-input
              :variants="cargo_codes"
              :variantKey="'id'"
              :label="'Код груза'"
              :variantTitle="'code6'"
              v-model="all_information.cargo_code"
--              :class="{ 'error_label': this.telegram_error.cargo_code }"
++             :myClass="{ 'error_label': this.telegram_error.cargo_code }"
            ></autocomplete-input>export default {
    name: 'AutocompleteInput',
    props: {
        variants: {
            type: Array,
            required: true,
        },
        value: {
            default: ''
        },
        label: {
            type: String,
            default: '',
        },
        variantKey: {
            type: String,
            default: 'id'
        },
        variantTitle: {
            type: String,
            default: 'id'
        },
        placeholder: {
            type: String,
            default: ''
        },
        needFull: {
            type: Boolean,
            default: false
        },
--        error_label: {
--           type: String,
--           default: ''
--       }
++        myClass: {
++          type: String,
++         default: {},
++       }
    },<template>
    <div class="autocomplite_component">
        <div class="controller">
        <input type="text" class="textarea" @input="onInput" :value="value" :placeholder="placeholder">
        </div>
        <br>
--        <label class="label" :class="error_label">{{ label }}</label>
++        <label class="label" :class="myClass">{{ label }}</label>
        <div class="variants" v-if="filtered && showVariants" style="max-height: 50px; overflow: auto;">
            <div v-for="v in filtered" :key="v[variantKey]" class="variant" @click="selectVariant(v)">
              <span style="cursor: pointer;">{{ v[variantTitle] }}</span>  
            </div>
        </div>
       
    </div>
</template>
