20 lines
479 B
JavaScript
20 lines
479 B
JavaScript
import PickleComplate from "../vendor/picomplete/picomplete";
|
|
|
|
(function () {
|
|
new PickleComplate({
|
|
request: {
|
|
url: '/programs/construct/append/from_list?',
|
|
type: 'GET',
|
|
value: 'from',
|
|
text: 'from',
|
|
},
|
|
config: {
|
|
type: 'server',
|
|
target: '#from_select',
|
|
clickCallback: (target, node) => {
|
|
target.value = node.value;
|
|
},
|
|
},
|
|
})
|
|
})()
|