0.0.67 add showSearchList

This commit is contained in:
SDE
2023-08-01 18:43:28 +03:00
parent 5bf116cff5
commit 8a70dc686e
2 changed files with 22 additions and 6 deletions

View File

@@ -68,12 +68,13 @@
<input type="number" name="from_address_point" id="id_from_address_point" hidden />
<input
oninput="searchTown(this)"
onclick="searchTown(this)"
onclick="showSearchList(this)"
onblur="setTimeout(()=>onblurInputField(event, this), 100)"
onFocus="this.select()"
autocomplete="off"
type="text"
name="from_address_point_txt"
class="from_address_point_txt"
{% if form.fields.from_address_point.required %} required{% endif %}
id="id_from_address_point_txt"
{% if form.initial.from_address_point_txt %}value="{{ form.initial.from_address_point_txt }}"{% endif %}
@@ -93,7 +94,7 @@
<input type="number" name="to_address_point" id="id_to_address_point" hidden />
<input
oninput="searchTown(this)"
onclick="searchTown(this)"
onclick="showSearchList(this)"
onblur="setTimeout(()=>onblurInputField(event, this), 100)"
onFocus="this.select()"
autocomplete="off"
@@ -101,6 +102,7 @@
name="to_address_point_txt"
{% if form.fields.to_address_point.required %} required{% endif %}
id="id_to_address_point_txt"
class="to_address_point_txt"
{% if form.initial.to_address_point_txt %}value="{{ form.initial.to_address_point_txt}}"{% endif %}
/>