diff --git a/templates/job-order/form.html.twig b/templates/job-order/form.html.twig index 0c24489e..fc7628bd 100644 --- a/templates/job-order/form.html.twig +++ b/templates/job-order/form.html.twig @@ -647,6 +647,9 @@ $(function() { // check if we need to set map var latlng = new google.maps.LatLng({{ obj.getCoordinates.getLatitude }}, {{ obj.getCoordinates.getLongitude }}); selectPoint(map, latlng); + + // remove placeholder text + $("[data-vehicle-field='1']").prop('placeholder', ''); {% endif %} {% if mode == 'update-processing' %} @@ -815,8 +818,8 @@ $(function() { if (typeof vdata.battery !== 'undefined') { $("#current-battery").val(vdata.battery.mfg_name + " " + vdata.battery.model_name + " " + vdata.battery.size_name + " (" + vdata.battery.prod_code + ")"); - $("#warranty-code").val(vdata.battery.warranty_code).prop('placeholder', ''); - $("#warranty-expiration").val(vdata.battery.warranty_expiration).prop('placeholder', ''); + $("#warranty-code").val(vdata.battery.warranty_code); + $("#warranty-expiration").val(vdata.battery.warranty_expiration); } else { $("#current-battery, #warranty-code, #warranty-expiration").val("No current battery").css('color', '#f4516c'); }