x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<div class="relative inline-grid gap-1.5" data-controller="select" data-action="keydown->select#keydown click@window->select#outside">
<span id="select-gl-8ec7ff-label" class="sr-only">Country</span>
<input type="hidden" name="gl" value="us" data-select-target="input" >
<button type="button" id="select-gl-8ec7ff-button" class="ui-select-trigger" aria-haspopup="listbox" aria-expanded="false"
aria-labelledby="select-gl-8ec7ff-label select-gl-8ec7ff-button" data-select-target="button" data-action="select#toggle" >
<span class="truncate" data-select-target="current">United States</span>
<svg class="ui-select-chevron" width="12" height="12" viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5l3-3" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
<ul role="listbox" tabindex="-1" aria-labelledby="select-gl-8ec7ff-label" class="ui-select-list" data-select-target="list" hidden>
<li role="option" id="select-gl-8ec7ff-0" aria-selected="true" data-value="us" data-label="United States"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">United States</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-1" aria-selected="false" data-value="uk" data-label="United Kingdom"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">United Kingdom</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-2" aria-selected="false" data-value="de" data-label="Germany"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">Germany</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-3" aria-selected="false" data-value="fr" data-label="France"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">France</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-4" aria-selected="false" data-value="es" data-label="Spain"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">Spain</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-5" aria-selected="false" data-value="br" data-label="Brazil"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">Brazil</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-6" aria-selected="false" data-value="it" data-label="Italy"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">Italy</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-7" aria-selected="false" data-value="kr" data-label="South Korea"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">South Korea</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-8" aria-selected="false" data-value="lt" data-label="Lithuania"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">Lithuania</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-9" aria-selected="false" data-value="ca" data-label="Canada"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">Canada</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-10" aria-selected="false" data-value="au" data-label="Australia"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">Australia</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
<li role="option" id="select-gl-8ec7ff-11" aria-selected="false" data-value="in" data-label="India"
class="ui-select-option" data-select-target="option" data-action="click->select#choose mousemove->select#hover">
<span class="truncate">India</span>
<svg class="ui-select-check" width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.25 5.75 10 11 4" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
</li>
</ul>
</div>
1
render SelectComponent.new(name: "gl", label: "Country", options: SearchParams::COUNTRIES, selected: "us", show_label: show_label, disabled: disabled)
Param Description Input

—

—