|
|
@ -136,11 +136,11 @@ $(document).ready(function () { |
|
|
|
dropdownParent: materialModal, |
|
|
|
dropdownParent: materialModal, |
|
|
|
placeholder: 'Pilih material', |
|
|
|
placeholder: 'Pilih material', |
|
|
|
allowClear: true, |
|
|
|
allowClear: true, |
|
|
|
|
|
|
|
minimumInputLength: 3, |
|
|
|
ajax: { |
|
|
|
ajax: { |
|
|
|
url: `${adwIntegrationUrl}/request-material/get-material-integration`, |
|
|
|
url: `${adwIntegrationUrl}/request-material/get-material-integration`, |
|
|
|
type: "get", |
|
|
|
type: "get", |
|
|
|
delay: 1000, |
|
|
|
data: function (params) { |
|
|
|
data: function (params) { |
|
|
|
|
|
|
|
var query = { |
|
|
|
var query = { |
|
|
|
'name': params.term, |
|
|
|
'name': params.term, |
|
|
|
} |
|
|
|
} |
|
|
|