Laravel.io
valangkatpromotor.autocomplete({
    classes: {
        "ui-autocomplete": "ui-my-class"
    },
    source: function(request, response) {
        $.ajax({
            url: 'caripeserta/' + valangkatpromotor.val(),
            type: 'get',
            dataType: "json",
            success: function(data) {
                response($.map(data, function(item) {
                    return {
                        label: item.nama_peserta,
                        value: item.nama_peserta,
                    }
                }));
            }
        });
    },
    minLength: 2,
    response: function(event, ui) {
        if (!ui.content.length) {
            var noResult = {
                value: "",
                label: "Tidak Ada Data"
            };
            ui.content.push(noResult);
        }
    }
});

Please note that all pasted data is publicly available.