update autocomplete choose staff

This commit is contained in:
2020-12-21 16:57:30 +07:00
parent 5bb7d519fc
commit df644d539d
9 changed files with 133 additions and 40 deletions

View File

@@ -14,6 +14,12 @@
.table-striped > tbody > tr:nth-of-type(odd){
background-color: rgb(210, 210, 210);
}
.select2-container {
width: 100% !important;
}
.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single{
border-color: green;
}
</style>
<div class="row">
<div class="col-md-10" style="max-height: 850px;overflow-y: auto;">
@@ -99,7 +105,10 @@
<div class="row">
<div class="col-md-4 text-right">ID</div>
<div class="col-md-8">
<input type="text" name="Code" value="{$idAuto}">
<select name='Code' id='Code' onchange="chooseStaff(this);" data-href="{Url::to("/list-management/choose-staff")}">
<option value=""></option>
{html_options options=$staffArray}
</select>
</div>
</div>
<div class="row">