Merge remote-tracking branch 'origin/main'

This commit is contained in:
2023-08-09 19:17:16 +03:00
3 changed files with 42 additions and 35 deletions

View File

@@ -1084,7 +1084,7 @@ div.departure_arrival>div>input{
.input_list{ .input_list{
display: none; display: none;
width: 24%; width: 390px;
height: 200px; height: 200px;
position: absolute; position: absolute;
padding-top: 20px; padding-top: 20px;
@@ -1096,7 +1096,7 @@ div.departure_arrival>div>input{
} }
.input_list.show{ .input_list.show{
display:block; display:inline-block;
} }
.input_list .hide{ .input_list .hide{

View File

@@ -156,6 +156,7 @@ function confirmRemove(el) {
function searchTown(el){ function searchTown(el){
if(el.textLength>=3){
let timer = null let timer = null
if (timer) { if (timer) {
clearTimeout(timer); clearTimeout(timer);
@@ -192,6 +193,11 @@ function searchTown(el){
}, 1500); }, 1500);
} }
}

View File

@@ -80,6 +80,7 @@
onFocus="this.select()" onFocus="this.select()"
autocomplete="off" autocomplete="off"
type="text" type="text"
minlength="3"
name="from_address_point_txt" name="from_address_point_txt"
class="from_address_point_txt" class="from_address_point_txt"
{% if form.fields.from_address_point.required %} required{% endif %} {% if form.fields.from_address_point.required %} required{% endif %}