993
edições
Sem resumo de edição |
Sem resumo de edição |
||
Linha 1: | Linha 1: | ||
<div class="selectwithSearch__container <!--{$id|default:''|escape:'html'}-->"> | <div class="selectwithSearch__container <!--{$id|default:'x'|escape:'html'}-->"> | ||
<div class="selectwithSearch__selectBtn <!--{$id|default:''|escape:'html'}-->"> | <div class="selectwithSearch__selectBtn <!--{$id|default:''|escape:'html'}-->"> | ||
<span> <!--{$title|default:'Selecione a frase desejada'|escape:'html'}--> </span> | <span> <!--{$title|default:'Selecione a frase desejada'|escape:'html'}--> </span> | ||
Linha 29: | Linha 29: | ||
<script defer> | <script defer> | ||
const wrapper<!--{$id|default:''|escape:'html'}--> = document.querySelector(".selectwithSearch__container.<!--{$id|default:''|escape:'html'}-->"), | const wrapper<!--{$id|default:''|escape:'html'}--> = document.querySelector(".selectwithSearch__container.<!--{$id|default:'x'|escape:'html'}-->"), | ||
selectBtn<!--{$id|default:''|escape:'html'}--> = wrapper.querySelector(".selectwithSearch__selectBtn"), | selectBtn<!--{$id|default:''|escape:'html'}--> = wrapper.querySelector(".selectwithSearch__selectBtn"), | ||
searchInp<!--{$id|default:''|escape:'html'}--> = wrapper.querySelector("input"), | searchInp<!--{$id|default:''|escape:'html'}--> = wrapper.querySelector("input"), |