소스 검색

Add blank option

Alan Lam 1 년 전
부모
커밋
5d0ae38dad
1개의 변경된 파일과 1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      views/components/location_id_field.php

+ 1 - 0
views/components/location_id_field.php

@@ -15,6 +15,7 @@ $customers = Customer::getAll();
 	<label class="form-label" for="location-id"><?=htmlspecialchars(__("Location"))?></label>
 
 	<select class="form-control" name="location_id" id="location-id">
+		<option value=""><?=htmlspecialchars(__("Select Location"))?></option>
 		<?php
 		foreach($customers as $customer) {
 			?>