2022-08-08 14:19:08 +08:00

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;
},
},
})
})()