0.0.302 clear ID of hide inputs in create/find routes

This commit is contained in:
2023-12-03 14:38:23 +03:00
parent 1be50b1277
commit 3901c82aae
7 changed files with 27 additions and 7 deletions

View File

@@ -221,6 +221,7 @@
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
float: left;
height: 20px;
}
.message-sprt-inf{

View File

@@ -1895,6 +1895,7 @@ button#edit_route {
position: absolute;
height: -webkit-fill-available;
width: -webkit-fill-available;
width: -moz-available;
}
#error_footer{

View File

@@ -411,6 +411,19 @@ function onblurInputField(event,el){
// }
}
function clearID(el) {
el.select();
if(el.id === 'id_from_address_point_txt'){
document.getElementById('id_from_address_point').value = ''
} else if(el.id === 'id_to_address_point_txt'){
document.getElementById('id_to_address_point').value = ''
}
}
// function hideErrorMsg(el) {
// let hide_element = document.querySelector()