Update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-form-label label-align" for="txt_simtrad4_kotor">DBH/DAK</label>
|
||||
<label class="col-form-label label-align" for="txt_simtrad4_kotor">DBH</label>
|
||||
<select id="txt_id_sps" name="txt_id_sps" style="width:100%" class="form-control sps_search" required></select>
|
||||
<input id="txt_rek_sps" name="txt_rek_sps" type="hidden">
|
||||
</div>
|
||||
@@ -149,9 +149,9 @@
|
||||
})
|
||||
|
||||
$('#txt_id_sps').select2({
|
||||
placeholder: 'Pilih DBH / DAK',
|
||||
placeholder: 'Pilih DBH',
|
||||
ajax: {
|
||||
url: '/item-search-sps?ta='+$("#txt_ta").val(),
|
||||
url: '/item-search-sps?ta='+$("#txt_ta").val()+'&jenis=dbh',
|
||||
dataType: 'json',
|
||||
delay: 250,
|
||||
processResults: function (data) {
|
||||
|
||||
Reference in New Issue
Block a user