Autocomplete with Ajax more options than only ID and Name?

change:function(value){
  app.data.city=value[0];
  // or
  // localStorage.setItem('city',JSON.stringify(value[0]))
  ...
  ...
}

later

console.log(app.data.city)
// or
// JSON.parse(localStorage.getItem('city'));
1 Like

thanks I think using app.data work the best for all things… big thanks