瀏覽代碼

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) {
 			?>