Add token to autocomplete remote call

hi

i try to use autocomplete component (mbsc-select) but i can’t add my token to get results

how can i do it please ?

this is options variable :
myData = {
url: SERVER_URL + ‘/school/searchCity?page=1&size=10&city=’,
remoteFilter: true,
dataType: ‘jsonp’,

processResponse: function (data) {
  const ret = [];

  if (data) {
    for (let i = 0; i < data.length; i++) {
      const item = data[i];
      ret.push({
        value: JSON.stringify(item) ,
        text: JSON.stringify(item),
        html: '<div style="font-size:16px;line-height:18px;">' + JSON.stringify(item) +
            '</div><div style="font-size:10px;line-height:12px;">' + '</div>'
      });
    }
  }

  return ret;
}

};

Hi @Iheb_BEN_AMOR,

Thanks for the question! Can you specify what kind of token would you like to add and where?

Thanks,
Zoli