How create array autocomplete in element?


var my_autocomplete =app.autocomplete.create({
        inputEl: $$("element" + array_variable),
.......

SEE HERE: sad-fermi-vgemf6 - CodeSandbox

Example dom:

<input type="text" id="input_' + i + '">

please create an array in the input text and how to do autocomplete create in the array