One autocomplete to multiple inputs

Hey.
Help me to understand!
On the page I dynamically create several identical “input”, I want to attach one “autocomplete” to them:

var autocomplete = app.autocomplete.create ({
inputEl: ‘.autocomplete’,
openIn: ‘dropdown’,
source: function (query, render) {

}
});

but when you open the second and subsequent “input”, “autocomplete” opens to the first.